https://github.com/kalana99/node-backend-framework
NodeJS backend template for a MERN stack application with sample Models, Controllers, Routes and Test configurations
https://github.com/kalana99/node-backend-framework
backend expressjs javascript mongodb nodejs rest-api web-development
Last synced: 2 months ago
JSON representation
NodeJS backend template for a MERN stack application with sample Models, Controllers, Routes and Test configurations
- Host: GitHub
- URL: https://github.com/kalana99/node-backend-framework
- Owner: Kalana99
- Created: 2022-12-26T11:29:44.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-19T07:49:28.000Z (almost 3 years ago)
- Last Synced: 2025-01-20T10:09:12.605Z (over 1 year ago)
- Topics: backend, expressjs, javascript, mongodb, nodejs, rest-api, web-development
- Language: JavaScript
- Homepage:
- Size: 19.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# node-backend-framework
# Instructions
1. Add the ".env" file with the neccessary connection strings and secret keys to the project directory
2. Run below command from the project directory to update the server dependencies to their latest versions
### `npm run update_dep`
3. Run below commands one by one from the project directory to install the packages
### `npm install`
### `npm run install-client`
## App deployment options (all commands should run from the project directory)
1. To run the "front-end" alone
### `npm run client`
2. To run the "back-end" alone
### `npm run server`
### 2. To run the full application
### `npm run dev`
### 3. To run tests
### `npm test`
### 4. To run a specific test file
### `npm test -- bar.test.js`
### 5. To re-generate the test coverage
### `npm test -- --coverage`