+
Skip to content

WalleksMR/rentax

Repository files navigation

Rentx
Rentx Application using NodeJs

A app backend to rental of the cars.

GitHub top language GitHub Made by

Start with Express, a framework for NodeJS.

📌 Project About

Is a application programming interface - API - to cars rental, was develop to fictitious company called Rentx. It's has some feature:

  • User registration
  • User authentication and token generation
  • Car registration and car-related items such as specifications and categories
  • Car rental and return
  • User password recovery via email.

🚀 Technologies

Technologies I used this project.

💻 Get Started

To run this backend application in your machine follow some requirement below:

Requirements

Obs.: I recommend you use the tool Docker Compose

Clone this project and access the folder

$ git clone https://github.com/WalleksMR/rentax.git && cd rentax

Follow step to step below

# Install the dependencies
$ yarn

# Make a copy of .env.example to .env
# and config your database to run locally
# according to the config the file docker-compose.yml

$ cp .env.example .env

# Now run this command below
$ docker-compose up -d

# When the services are running, you should run this command to create the tables in the database
$ yarn typeorm migration:run

# Run your server
$ yarn dev

# Good Job👏, application is running!

Run the tests

# To run the tests, you need create a new database called rentx_test
# and after run the command below
$ yarn test

Functional Requirement

In software engineering and system engineering, a functional requirement defines a function of a system or its component, where a function is defcribed as a specification of behavior between inputs and outputs. FuncionalRequirement

Documentation API

Access the router http:localhost:3333/api-docs

📝 Licença

Este projeto está licenciado sob a licença MIT - Veja Licença para mais detalhes.


Made with ❤️  by Walleks Miranda 👋  See my Linkedin

About

API REST - Backend application to rental cars using NodeJs applying principle SOLID and TDD

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载