RepoProvas is a single page application designed with a mobile first approach.
Its objective is to store old college exams. Users can send their old exams anonymously to help other students prepair.
When a user enters the site, he can decide between viewing old exams or submitting a exam. If he decide to see old exams there are a fell filters to easy the search. If he decide to send a exam, there are a form with selects to facilitate the process.
- npm
- Clone the backend
git clone https://github.com/Kevinmsouza/RepoProvas-back.git
- Clone the frontend in another folder
git clone https://github.com/Kevinmsouza/RepoProvas-front.git
- Install frontend and dependencies executing command in both folders
npm i
- Create a .env file in backend folder (root) with following variables ( example values )
DATABASE_URL=postgres://DB_USER:DB_PASSWORD@DB_HOST:DB_PORT/DB_DATABASE
PORT=4000
-
Create a postgres database and fill .env with database credentials
-
Run (copy & paste) the dump.sql statements in database
- Start backend server
npm run start
- Start frontend
npm start