https://github.com/ahmnouira/backend-skeleton
https://github.com/ahmnouira/backend-skeleton
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ahmnouira/backend-skeleton
- Owner: ahmnouira
- License: mit
- Created: 2020-02-26T20:59:12.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T08:24:09.000Z (almost 2 years ago)
- Last Synced: 2025-01-08T14:18:27.770Z (9 months ago)
- Language: JavaScript
- Size: 720 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# backend-skeleton
* This is a starter kit for **MERN Stack** application.
> A fully functioning standalone server-side application using Node, Express and MongoDB
---
## features
1. A *user* model for storing user data, implemented with *Mongoose*.
2. User API endpoints to perform *CRUD* operations, implemented with *Express*
3. User auth for protected routes, implemented with *JWT* and *express-jwt*### configurations
1. Configuring *Webpack* to compile ES6 code.
2. Includes *Nodemon* to restart the server when the code changes### Run the server
1. `git clone https://github.com/ahmnouira/backend-skeleton` to clone the repository.
2. `cd backend-skeleton`.
3. `npm i` to install the dependencies.
4. `npm run dev` to start the server.### Branches
* `simple-server`: a simple node server with Express and MongoDB.
* `git checkout simple-server`