Project developed for the Rocketseat Ignite (Node.js Path). This application is a simple REST API and It was built to manage car rental routines.
Below the technologies, used to build this API:
| Name | Status |
|---|---|
Requirements
Clone the project
$ git clone https://github.com/wladimirgrf/rentx.git && cd rentxInstall the Project dependencies
$ npm installEnvironment configuration
# Make a copy of '.env.sample'
# Fill both files with YOUR environment variables.
$ cp .env.sample .env
$ cp .env.sample .env.testRun the containers
$ docker-compose up -dMigrations
$ npm run typeorm migration:runLaunch the Application
$ npm run devThe API will be launch at
http://localhost:3333/
Documentation available athttp://localhost:3333/api-docs
Fork the repository and clone your fork
$ git clone fork-url && cd rentxCreate 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.