SCAP is a system that aims to help manage requests from professors of the Department of Informatics (DI) at the Federal University of Espírito Santo (UFES) for leave to attend conferences.
This project was developed as part of my final graduation project. The complete thesis, written and defended before the examination committee, can be found at this URL.
Actors | Features |
---|---|
Professor | - Request leave to attend international or national conferences; - Manifest against a professor leave. |
Secretary | - Manage system's users; - Manage requests status. |
The following gif represents some of the professor's features.
The following gif represents some of the professor's features.
First of all, you need to install the dependencies using the following command:
npm install
Install MySql and create the database using the following commands:
mysql --user=USER --password=PASSWORD
CREATE DATABASE scap;
Fill the .env
file with the database url, it should look like this:
DATABASE_URL="mysql://USER:PASSWORD@HOST:PORT/DATABASE"
Then run the following commands to generate tables with prisma.
npx prisma generate
npx prisma migrate dev --name init
Prisma also allows you to visualize data within a browser, to do so
npx prisma studio
Finally, run the development server.
npm run dev
Open http://localhost:3000 in your browser to see the result.