https://github.com/leandroberlin/studentsdb
Restful Service with Node, Express, Bootstrap and MongoDB
https://github.com/leandroberlin/studentsdb
Last synced: 3 months ago
JSON representation
Restful Service with Node, Express, Bootstrap and MongoDB
- Host: GitHub
- URL: https://github.com/leandroberlin/studentsdb
- Owner: LeandroBerlin
- License: mit
- Created: 2018-01-24T12:02:19.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-01-30T17:02:12.000Z (over 7 years ago)
- Last Synced: 2025-01-19T10:08:57.638Z (5 months ago)
- Language: JavaScript
- Size: 268 KB
- Stars: 0
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Students Database
Restful Service with Node, Express, Bootstrap and MongoDB for Devugees

## Requirements
**You need to have Mongod Up&Running to launch the app**
You can configure your connection from **config/database.config.js**
A dump of the collection used by the app is under */database/export.json*
## Setup
1. Install dependencies
```bash
npm install
```2. Run Server
```bash
npm start
```You can access the project frontend at
## API
The api are available under /api
i.e. returns all the students in db*/api*
*/api/students* List the students
*/api/student* **POST** - create a new user
*/api/student:id* **GET** - read user
*/api/student:id* **PUT** - update user
*/api/student:delete* **DELETE** - delete user
## DISCLAIMER
 Use at your own risk!