https://github.com/gotocva/node-redis-crud
A simple CRUD application in Nodejs using Redis as database
https://github.com/gotocva/node-redis-crud
expressjs nodejs redis
Last synced: 2 months ago
JSON representation
A simple CRUD application in Nodejs using Redis as database
- Host: GitHub
- URL: https://github.com/gotocva/node-redis-crud
- Owner: gotocva
- Created: 2020-01-26T06:10:07.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-01-26T06:16:37.000Z (over 6 years ago)
- Last Synced: 2025-12-12T23:39:12.379Z (6 months ago)
- Topics: expressjs, nodejs, redis
- Language: JavaScript
- Homepage:
- Size: 3.91 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# node-redis-crud
A simple crud application with nodejs framework and redis database
Make sure Redis is running on your local machine and you have nodejs framework installed
## How to use
`git clone https://github.com/gotocva/node-redis-crud.git`
`cd node-redis-crud`
run `npm install`
to start application, run `npm start`
Application is running on http://localhost:8080/
### api to call
*Add User*
[POST] http://localhost:8080/user
request body -> id,firstname, lastname, age
*Get User By ID*
[GET] http://localhost:8080/user/:id
*Update User*
[PUT] http://localhost:8080/user/:id
request body -> firstname, lastname, age
*Delete User*
[DELETE] http://localhost:8080/user/:id
```
### fork,issues,pull request all are welcome
```