Skip to content

KleberBarilli/OnPlaces

Repository files navigation

Frontend Repo > https://github.com/KleberBarilli/OnPlacesWeb

Paused⚠

This sistem will integrate users with a map of all cities in the world, where you can contribute information about any city, adding descriptions, tourist places and images

alt text Main Features of the app

  • Select City
    • Where you've lived
    • Where you've visited
    • Where you want a visit
  • Add City (contribute to filling in the city information)
  • Useful Back-End Commands


    Check the database settings in ormconfig.js, i recommend you use postgres with docker

    docker run --name places_db -e POSTGRES_PASSWORD=yourpassword -p 5432:5432 -d postgres
    
    docker exec -it idcontainer bash
    root@05b3a3471f6f:/# psql -U postgres
    postgres-# CREATE DATABASE places_db;

    Run App

    npm install
    npm run typeorm migration:run
    npm run dev

    Run Unit Tests

    npm run test

    To run the front-end code

    cd web/
    yarn install or npm install
    yarn start or npm start

    🇧🇷Aprenda como configurar o eslint e o prettier em seus projetos nodejs: https://medium.com/@kleber.barilli73/como-instalar-e-configurar-o-eslint-e-o-prettier-c8f270416ffb