Skip to content
/ rentx Public

RentX is a high-quality and well-rated car rental service.

License

Notifications You must be signed in to change notification settings

i-ramoss/rentx

Repository files navigation

License MIT

About   |    Technologies used   |    How to use   |    Docs   |    How to contribute   |    License


⁉️ What is RentX?

RentX is a high-quality and well-rated car rental service.
Analyze vehicle specifications, choose the one that best suits you. Save and travel safely!

This API was developed in the NodeJS - Ignite Bootcamp, from Rocketseat. 🔥🚀

🚀 Technologies:

This back-end project was developed using the following technologies:

👷 How to use: (developing)

To clone and run this API you will need the following software installed on your computer:

🔌 Install dependencies and run the application:

# Clone this repository:
$ git clone https://github.com/i-ramoss/rentx.git

# Enter the repository:
$ cd RentX

# Install the dependencies:
$ yarn

# Create the app containers:
$ docker-compose up -d

# Make a copy of the file "ormconfig.example.json" with the name "ormconfig.json":
# Fill in the correct data to be able to connect to the database
$ cp ormconfig.example.json ormconfig.json

# Make a copy of the ".env.example" file with the name ".env":
# Some environment variables are essential for the API to work in production
$ cp .env.example .env

# Run the migrations:
$ yarn typeorm migrations:run

# Start the application
$ yarn dev

# The server is running at port 3333 (http://localhost:3333/)

# To stop the database:
$ docker-compose stop

🧪 Run the tests:

# To run all tests and generate coverage reports:
$ yarn test

# To observe the functionality tests that are being changed:
$ yarn test:watch

# The coverage reports can be seen by going to /coverage/lcov-report/index.html and opening this html file in your browser. 

📚 Documentation:

All API endpoints have been documented using Swagger. To view just access the URL below or click on this link.
Remember to start the server first

Local: http://localhost:3333/api-docs
Production https://deploy.ianramos.dev/api-docs/

📌 Project requeriments:

All rules for this API can be found on this link.

🎊 How to contribute:

  • Make a fork;
  • Create a branch with your functionality: git checkout -b <your_feature_name>;
  • Submit the changes made: git commit -am 'type(scope): <description>';
  • Push your branch: git push origin <your_branch_name>.

After your request is accepted and added to the project, you can delete your branch.

🔑 License:

This project in under MIT license, for more details check in LICENSE.
Feel free to bring new features or fix problems, it will be a pleasure! 💜


Made with 💚 by Ian Ramos 🔥 Get in touch!

About

RentX is a high-quality and well-rated car rental service.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages