Skip to content

MarcosSantosDev/coffe-delivery

Repository files navigation

Coffe delivery ☕

application to manage a shopping cart of a fictional coffee shop

342shots_so

Author: MarcosSantosDev License: MIT

💻 Prerequisites

Before you begin, make sure you've met the following requirements:

  • node(versions 14.x.x or later)
  • npm(versions 5.x.x or later)

🔨 Tools

Linter tools setup

Git hooks(pre-commit, commit-msg)

Enviroment to tests

Modules style

Generators

🚀 Initial steps

Clone the project:

git clone https://github.com/MarcosSantosDev/coffee-delivery.git

Install the dependencies:

npm install

☕ Application commands

How to run app in development mode and production ready mode ?

To run the application in development mode, run the command below:

npm run dev

Open http://localhost:3000 with your browser to see the result.

To generate the application build, run the command below:

npm run build

To run the application on top of the build, in production mode, run the command below:

npm run start

How to run integration and unit tests ?

To run the integration and unit tests, run the following command in your terminal:

npm run test

To run and watch the integration and unit tests, run the following command in your terminal:

npm run test:watch

How to run E2E tests ?

To run your end-to-end tests and view the results in the terminal, run the following command in your terminal:

npm run ci:e2e:headless

To open and run your end-to-end tests in the cypress playground, run the following command in your terminal:

npm run ci:e2e

🤝 Contributing to the project

To contribute, follow these steps:

  1. Clone this repository.
  2. Create a branch:git checkout -b <type>/<branch_name>
  3. Make your changes and confirm them:
  • Common commit message: git commit -m "<type>: message"
  • To commit with commitizen(commit message formatter): npm run commit
  1. Push to original branch: git push
  2. Create the pull request to development branch.

⚠️ Standards adopted in the project

Make with ❤️ by Marcos Santos

About

Application to manage a shopping cart of a fictional coffee shop

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published