Nodejs api with express and mongoose ORM
To get started with this api follow the steps below
$ git clone https://github.com/hakizimana-fred/Andela-capstone-Api.git
$ cd blog-api
$ yarn install or npm install
- This Api uses mongodb database.
- Have mongodb installe in your system or you can use mongodb clusters
- You don't need to worry about creating tables, mongoose will immediately create respective collections for you
$ yarn start or npm start
- Create .env file in the main directory and add the following
JWT_SECRET="JWT SECRET"
PORT= "Put port number you wish your server to run on"
MONGO_URI= "mongodb url"