Skip to content

Eloi-Perez/ecommerce-node-backend

Repository files navigation

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

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)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published