Complete system template with react

Table of Contents

About The Project

Description

Built With

  • HTML
  • CSS
  • Git
  • GitHub
  • npm
  • NodeJS
  • PostgresSQL
  • knex
  • React
  • TypeScript

Run This App on your computer

  • Clone or download this repository;

1 - Backend

  • Configure the database (PostgreSQL):
    • psql -U postgres
    • CREATE DATABASE (name);
    • config .env use .env-template(DB_PASS_DEV).
  • Start backend:
    • cd backend (Enter the backend folder);
    • npm i (Install dependencies);
    • npm start (Start the backend).
  • Test Backend:
    • CREATE DATABASE (name)_test;
    • Run test: npm test.

2 - Frontend

  • Start frontend:
    • cd frontend (Enter the frontend folder);
    • npm i (Install dependencies);
    • npm start (Start the frontend).
  • Test Frontend
    • Run test: npm test;

Or run Docker

  • docker-compose up --build

Future work

  • Fix Docker
  • Fix packages

Contact

Felipe Enne Mendes Ribeiro