NotaryApp is a Node.js API project that provides functionality to track candidate statuses created by users. The required API for the assignment is getStatusCount
- Required API
http://localhost:5000/api/getStatusCount
- controller => src\controller.js
router.post('/getStatusCount')
- service => src\service.js
getStatusCount{}
NotaryApp is built using Node.js and Express.js with MySQL as the database. It allows users to create candidates and track their statuses. This README provides instructions for setting up the project locally and using the API endpoints.
- Node.js (https://nodejs.org/)
- MySQL database
- Navigate to the project folder:
cd notary-app
- Clone the repository:
git clone https://github.com/aleena999/notaryApp.git
- Install the required dependencies:
npm install
- Configure your MySQL database connection: Open db.js file and update the connection details.
- Start the server:
nodemon index
This will start the server on port 5000.
API documentation is provided in the thunder-collection_NotaryApp.json file. It outlines all available endpoints, request formats, and response structures.
SQL based Modelling and connecting flow diagram is in ER diagram.mwb file.