Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eloi-perez/ecommerce-node-backend
https://github.com/eloi-perez/ecommerce-node-backend
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/eloi-perez/ecommerce-node-backend
- Owner: Eloi-Perez
- License: mit
- Created: 2022-08-11T12:10:27.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-06T20:49:12.000Z (about 1 year ago)
- Last Synced: 2023-10-06T21:35:21.099Z (about 1 year ago)
- Language: JavaScript
- Size: 368 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ecommerce Node Backend
This is a simple ecommerce backend API to use with your frontend store.
# Starting guide
**New developers welcome**
[Please follow this guide to learn how to get the repository into your computer and how to send your code](https://github.com/Eloi-Perez/guide-collaborating)
## Prerequisite:
- node: ">=16.0.0"
- npm: ">=7.0.0"
- MongoDB installed and running locally or in Atlas## Style guide:
- no ``;`` at the end of the line
- ``''`` instead of ``""`` on JS code
- 2 spaces indenting
- variable names in camelCase: ``newVariable``
- new files names in kebab-case: ``new-file``
- new folder names in kebab-case: ``new-folder``## Git committing guide:
git add --all
git commit -m "feat: amazing feature description"*(use present tense)*
- feat: The new feature you're adding to a particular application
- fix: A bug fix
- style: Feature and updates related to styling
- refactor: Refactoring a specific section of the codebase
- test: Everything related to testing
- docs: Everything related to documentation
- chore: Regular code maintenance, update packages*Do multiple commits with small features*
## Development:
Use `npm run dev` to start the development server
**But don't forget to create .env file, copy the keys from .env.example and add your config**
*(email config is not needed as the email sending is commented atm for testing new features easily)*