Skip to content

DiogoMarques2003/portugal-jobs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Portugal Jobs

This is a project created in Software Project class, to learn how to use devOps and scrum. This app isn't finished.

Requirements:

PS: If you don't want install mysql and redis you can use the docker compose with command docker-compose up -d.

Explanation of files/folders:

  • Backend - Folder with all backend code
  • devOpsWiki - Folder with all depOps wiki docs (The content of this folder is in portuguese)
  • FrontEnd - Folder with all frontend code
  • docker-compose - docker-compose to run mysql and redis service

How to use

Backend:

Before start you need do some steps:

  • 1 - create .env file using the template from .env.example, on this file you need put the some data to run the app
  • 2 - create src/config/cloudStorageKeyFile.json file using the template from cloudStorageKeyFile.example.json, on this file you need put the login data to you google cloud storage
  • 3 - use the following commands to create the database:
$ yarn (Install the dependencies for the project)
$ yarn prisma migrate dev (Create the database)

To run in dev mode you need use the flowing commands

$ yarn dev (Run the app in dev mode)

To run in production mode you have two options:

  • 1 - Use docker-compose up -d command to run in the docker;
  • 2 - Use the flowing commands to run in the machine withou docker:
$ yarn build (Build the app)
$ yarn start (Start the builded app)

After having running you can access http://ip:port/api/docs to see all api routes with some documentation

Frontend:

Before start you need do some steps:

  • 1 - install de expo app in you mobile device
  • 2 - change the api url in baseURL of api file

Run the following commands to test the frontend app:

$ yarn (Install the dependencies for the project)
$ yarn start (Run the app)

After run the app open the expo app in you mobile device and read the QR Code generated by react native and test the app.

About

Project for Software Project class

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published