Project developed for the Rocketseat Ignite (Node.js Path). This application is a simple REST API and It was built to manage package deliveries.
Below the technologies, used to build this API:
| Name | Status |
|---|---|
Requirements
Clone the project
$ git clone https://github.com/wladimirgrf/speedy.git && cd speedyInstall the Project dependencies
$ npm installEnvironment configuration
# Make a copy of '.env.sample'
# Fill it with your environment variables
$ cp .env.sample .envRun the container
# Create the instance of postgreSQL using docker
$ docker run --name postgres -e POSTGRES_PASSWORD={password} -p 5432:5432 -d postgresMigrations
$ npx prisma migrate devLaunch the Application
$ npm startThe API will be launch at
localhoston the chosen port or on the default3333
Fork the repository and clone your fork
$ git clone fork-url && cd speedyCreate a branch for your edits
$ git checkout -b new-featureMake the commit with your changes
$ git commit -m 'feat: New feature'Send the code to your remote branch
$ git push origin new-featureCreate a pull request with your version.
After your pull request is merged, you can delete your branch.
This project is licensed under the MIT License - see the LICENSE file for details.
