This project is node.js back-end code for a PostMedia application built using Express and MongoDB .POSTMAN is used for Integration testing using REST API's.
Account creation
- You can create an account using Email .
- You will be provided a jsonwebtoken
Post creation
-
Only authenticated users can create a Post.
Comment creation
-
Only authenticated users can create a Comment.
npm modules |
---|
express |
mongoose |
jsonwebtoken |
dotenv |
bcryptjs |
cors |
- Node.js and npm should be installed on your machine.
- Clone the repository:
git clone https://github.com/vish-n-u/postmediaBackend
2. Change into the project directory:
```shell
cd postmediaBackend
- Install the dependencies:
npm install
4 .Start the development server:
node index.js