https://github.com/salithaucsc/express-user-api
Express JS API deployed on Heroku Cloud Platform
https://github.com/salithaucsc/express-user-api
express-js heroku heroku-deployment herokuapp mongodb mongoose node-js rest-api
Last synced: 3 months ago
JSON representation
Express JS API deployed on Heroku Cloud Platform
- Host: GitHub
- URL: https://github.com/salithaucsc/express-user-api
- Owner: SalithaUCSC
- Created: 2019-01-05T15:36:57.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-02-03T04:04:47.000Z (over 7 years ago)
- Last Synced: 2025-03-23T02:42:06.962Z (over 1 year ago)
- Topics: express-js, heroku, heroku-deployment, herokuapp, mongodb, mongoose, node-js, rest-api
- Language: JavaScript
- Homepage: https://ex-rest-api.herokuapp.com
- Size: 3.15 MB
- Stars: 0
- Watchers: 0
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Express-User-API
## Express JS API deployed on Heroku Cloud Platform
### Deployment Steps
*Heroku CLI must be installed to continue these steps*
1. Go into project folder
2. Hit **git init** to initialize.
3. Hit **git add .** to add all files to GIT.
4. Hit **git commit -m "add project"**.
5. Hit **heroku create ap_name** to create a new app. If heroku asks login details, give them.
6. Hit **git push heroku master**.
### API END POINTS
```
GET ALL USERS https://ex-rest-api.herokuapp.com/api/users
GET SINGLE USER https://ex-rest-api.herokuapp.com/api/users/id
POST ADD USER https://ex-rest-api.herokuapp.com/api/users
POST UPDATE USER https://ex-rest-api.herokuapp.com/api/users/update/id
POST DELETE USER https://ex-rest-api.herokuapp.com/api/users/delete/id
```