Skip to content

Uma plataforma onde as pessoas podem encontrar vagas de iniciação científica, estágio e extensão dentro da própria UFRJ.

License

Notifications You must be signed in to change notification settings

CorchoForce/pav-front

Repository files navigation

Pega A Visão

demonstration

Table of Contents

About

It is well established among students at the Federal University of Rio de Janeiro (UFRJ) that internship, scientific initiation and extension opportunities offered are not well publicized. Between papers taped to the countless murals in the corridors of campuses, which may well date back to years, and emails that get lost in the inbox amidst many opportunities, a student who is looking for an opportunity of the type feels lost and helpless by the University.

Recruiters are also hampered by this confusing process. Often, they depend on the goodwill of teachers to forward their vacancies to students of the desired profile, or else they end up in the inbox of students of courses that are totally outside the scope of the proposed vacancy. A system that helps them will be of great value to the company, laboratory or project in which they work.

Thus, the need for a system that aggregates internship opportunities, scientific initiation and extension for university students by the members of CorchoForce was identified. The project was carried out within the scope of the Advanced Programming discipline (EEL418), from the Polytechnic School of UFRJ, and guided by Professor Cláudio Miceli de Farias, from the Program for Systems and Computer Engineering at COPPE/UFRJ.

Requirements

To run this repository by yourself you will need to install node.js, docker and docker-compose in your machine and them install all the projects requirements. We will show how to do it in the next step.

How to use

Frontend Setup

# Clone the frontend repository
$ git clone <https://github.com/CorchoForce/pav-front>

# Access the frontend directory
$ cd pav-front/

# Build the docker image
$ docker build . -t pav-front:v1.0.0

# Run the docker container the following command
$ docker run --network="host" -p 3000:3000 pav-front:v1.0.0

#Them the app will be running in the http://localhost:3000

demonstration

Backend Setup

# Clone the backend repository
$ git clone <https://github.com/CorchoForce/pav-back>

# Access the backend directory
$ cd pav-back/

# Create a .env file
$ touch .env

# Add the following parameters to the created .env file
 SERVER_PORT=8080 #Backend running port
 URL=localhost #Backend url
 PRODUCTION=FALSE #If it's running in production mode or not
 FRONT_URL=any #The frontend production url
 MONGO_USERNAME=root #Mongo username
 MONGO_PASSWORD=123 #Mongo password
 MONGO_PORT=27017 # Mongo port
 MONGO_DB=pav #Mongo database
 MONGO_HOSTNAME=127.0.0.1 #Mongo hostname
 EMAIL_KEY= #The email content before @
 EMAIL_DOMAIN= #The email domain
 EMAIL_PASSWORD= #The email password
 APP_KEY= #The backend application key
 
#Run the docker-compose file
$ docker-compose up

#The api will be running in the port 8080

demonstration

Technologies

  • React
  • Express.js
  • Docker
  • Heroku