Credence Analytics - REST- API - Assignment
Project Overview
REST API Server
● You’ll need to create an API server with CRUD based routes using NodeJS/Python
● Using your API, users can Create, Read, Update or Delete data from the database.
● Use MongoDB to store the following data to get you started.
Features
-
List all Movies in the Database
-
Get Movies by ID
-
Update Movies by ID
-
Delete Movies by ID
Github: https://github.com/aryashah2k/CredenceAnalytic-RESTAPI-Assignment
Technologies Used
Getting Started
● Clone repository into local machine
● From the current directory run npm run start
to start the server
● Use Postman or any other API testing software to test the CRUD operations
Prerequisites
Ensure you have the following installed on your local machine:
- NodeJS
- MongoDB
HTTP Response Codes
Each response will be returned with one of the following HTTP status codes:
201
`OK The resource was created successfully200
`Ok The request was successfull400
Bad Request
There was a problem with the request (security, malformed)500
Server Error
An error on the server occurred
Documentation
- GET
- GET by ID
- POST
- UPDATE by ID
- GET After DELETE
License
This project is open-sourced software licensed under the MIT license.