https://github.com/newtonmunene99/nodejs_server
A simple NodeJs Server: Built for handling http api calls(get,post,put,delete etc.)
https://github.com/newtonmunene99/nodejs_server
api api-server express-js expressjs http node-js nodejs
Last synced: 9 months ago
JSON representation
A simple NodeJs Server: Built for handling http api calls(get,post,put,delete etc.)
- Host: GitHub
- URL: https://github.com/newtonmunene99/nodejs_server
- Owner: newtonmunene99
- License: mit
- Created: 2018-04-28T14:22:12.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2024-12-09T04:36:01.000Z (about 1 year ago)
- Last Synced: 2025-05-07T22:08:40.459Z (9 months ago)
- Topics: api, api-server, express-js, expressjs, http, node-js, nodejs
- Language: TypeScript
- Size: 415 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# NodeJs_Server
## To Run Locally
**Ensure you have the latest stable version of nodejs, and XAMPP installed.**
1. Git clone this repo
2. cd into repo
3. Run `npm install` to install dependencies
4. Make Sure XAMPP is open and Apache and MySQL are running
5. Check database configuration in src/config.ts i.e Host,Username and Password for your localhost server or Live Server. And Preferred name for your database
6. Run `npm run start` to start server.
7. Run `npm run dev` to start server with live reload
## To run on a remote server
I suggest you try hosting on Heroku or any other that you prefer. Please refer to their respective docs.
**Currently Supported**
- [x] Register User (get,post)
- [x] Login User (get,post)
- [x] Reset User Password (get,post)
- [ ] Require an api key to use api
- [ ] Upload photos, videos and documents
- [ ] Delete user account
- [ ] Send confirmation email on register
More Features coming soon