Tests repository API!
This is an API wich anyone with saves tests and send tests informations, filter by subject and professor name.
- Create a new test
- Send test list by subject
- Send test list by professor
- Implement Migrations
The following tools and frameworks were used in the construction of the project:
- Clone this repository
- Clone the front-end repository
- Follow instructions to run front-end
- Create a database using the
dump.sqlfile inside thedump
- 4.1 Open your terminal in the same path as the
dump.sqlfile is located. - 4.2 Access PostgreSQL
sudo su postgres
psql postgres- 4.3 Create a database
CREATE DATABASE [database_name];- 4.4 Then, quit psql and import the dump.sql file to your database
\q
psql [database_name] < dump.sql- 4.5 Finally, you can connect your terminal on your database!
\c [database_name]- Install dependencies
npm i- Run the back-end with
npm start