This application was developed to enable students to register their information via API.
It is a simple CRUD operation application giving the User access to C-reate new student accounts, R-ead current names of students present in the Database, also U-pdate current list of students, and Finally been a to D-elete register students in the Database
- Zuri Task 3.0
- Hosted on Heroku CRUD-OP-APPS
- Heroku Link -https://crud-op-apps.herokuapp.com/
A Server Application (Backend)
Technologies:
- NodeJS - Runtime Environment
- ExpressJs - Web Application Framework
- NPM - Dependency Manager
- dotenv
- mongoose
- express
- Post A Student Data
- Modify A Student Data
- Get A Student Data
- Delete A Student Data
- Get All Student Data
- git clone simple-CRUDop
- Run yarn install or npm install to install packages
- Run yarn start or npm start to start the server
- Navigate to localhost:5000 in postman or browser to access the application
Postman - API Toolchain
- After installing as shown above
- Navigate to localhost:5000 in Postman to access the application
- Post A Student Data - http://localhost:5000/api/student
- Get All Student Data - http://localhost:5000/api/student
- Get A Student Data - http://localhost:5000/api/student/:id
- Modify A Student Data - http://localhost:5000/api/student/:id
- Delete A Student Data - http://localhost:5000/api/student/:id
- Firstname and Lastname is Required
- Email has to be Unique
- Hosted on Heroku CRUD-OP-APPS
- Heroku Link -https://crud-op-apps.herokuapp.com/