Skip to content

scoorpionx/superaAPI

Repository files navigation

Supera's API

API required by the Supera Tecnologia team for the second stage of the internship selection process.

REST API for requests, routes and business rules, using Node.js, MySQL, Express, BCrypt, JWT and Knex.

Installation

Clone the repository:

git clone https://github.com/scoorpionx/superaAPI.git

Run the DataBase Script to create MySQL Database:

Open the API Code and change the "knex.js" file to connect into your new database:

development: {
    client: 'mysql',
    connection: {
      host : 'your-host',
      user : 'your-user',
      password : 'your-password',
      database : 'supera'
    },
    useNullAsDefault: true,
  },

Install the dependencies:

npm install

Usage example

You can import the "Insomnia_SuperaAPI.json" file into Insomnia to test the API with some requisitions.

About

API required by the Supera Tecnologia team for the second stage of the internship selection process.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors