Skip to content

Kevinmsouza/RepoProvas-back

Repository files navigation

RepoProvas

About the project

view demo


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.


Built with


Getting Started

Prerequisites

  • npm

Installation

  1. Clone the backend
git clone https://github.com/Kevinmsouza/RepoProvas-back.git
  1. Clone the frontend in another folder
git clone https://github.com/Kevinmsouza/RepoProvas-front.git
  1. Install frontend and dependencies executing command in both folders
npm i
  1. 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
  1. Create a postgres database and fill .env with database credentials


  2. Run (copy & paste) the dump.sql statements in database

How to run

  1. Start backend server
npm run start
  1. Start frontend
npm start

About

A TypeScript backend to the RepoProvas Project

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages