Skip to content

Latest commit

 

History

History
42 lines (30 loc) · 1.03 KB

README.md

File metadata and controls

42 lines (30 loc) · 1.03 KB

Sistema de controle de acesso - SCA

Clone the repository:

$ git clone https://github.com/amabilee/sca-back-end.git

SCA - Backend

The objective of this project is to create an authentication system for the Anápolis Air Base.

Development Environment

As a prerequisite, you will need to install: MySql, Node(we recommend the latest stable version available), Insomnia (or Postman) to test the API.

Inside the backend/run.sh script, edit the informations to match with your environment.

The file insomnia-sca.json needs to be imported at Insomnia to access the endpoints

Installation

cd backend/
npm install

Running the server

Development

cd backend/
npm run dev

Production

cd backend/
npm run start

How to access Swagger documentation

Now with the server running, open the browser and go to http://localhost:3100/doc/. There you can find all the endpoints, the params, and all you need to know about the api.

Authors

Amábile Zucchetti - https://github.com/amabilee