Skip to content

mpirescarvalho/blogr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

11 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Blogr

GitHub language count GitHub top language GitHub last commit GitHub stars Website

Next.js statically generated blog

Perguntae

πŸ›  Technologies

Frontend

Backend

πŸ‘¨β€πŸ’» Contributing

  1. Fork it (https://github.com/mpirescarvalho/blogr/fork)
  2. Create your feature branch (git checkout -b feature/awesome)
  3. Commit your changes (git commit -am 'Add awesome feature')
  4. Push to the branch (git push origin feature/awesome)
  5. Create a new Pull Request

πŸš€ Building

You'll need Node.js installed on your computer in order to build this app.

Clone the repository:

$ git clone https://github.com/mpirescarvalho/blogr.git
$ cd blogr

Backend

To run the backend, you'll need a working MongoDB instance. You can use MongoDB Atlas or install it locally. Go to backend folder and create a .env file using .env.template as example.

Now you can proceed to run the backend. Inside backend folder:

$ npm install
$ npm run dev

Runs the server in the development mode.


Frontend

To run the frontend, go to frontend folder and create a .env file using .env.template as example. If you ran the backend in the previous step, your api url will be localhost:3333.env

Now you can proceed to run the frontend. Inside frontend folder:

$ npm install
$ npm run dev

Runs the web app in the development mode.


βœ‰ Contact

made by Marcelo Carvalho made by Marcelo Carvalho