Skip to content

✂️ GoBarber Project - Backend (NodeJS), Web (React) and App (React-Native)

Notifications You must be signed in to change notification settings

fsmaiorano/gobarber

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📃 About

This repository contains a Node.js REST API as the back-end, a ReactJS application as the front-end, and a React Native mobile app, all using TypeScript. This is the GoBarber application, a scheduling platform for owners of barbershops or beauty salons. In this application, users can access all registered service providers through a mobile app, allowing them to choose a provider to schedule their appointment. Service providers, through a web interface, can access all their schedules, viewing both occupied and available time slots.

📚 Requirements

Have Git to clone the project.
Have Node.js installed.
Have Docker running a PostgreSQL container.
A device or iOS or Android emulator.

📚 Requirements

  • Have Git to clone the project.
  • Have Node.js installed.
  • Have Docker running a PostgreSQL container.
  • A device or iOS or Android emulator.

⚙️ Starting back-end

  $ docker run --name some-redis -p 6379:6379 -d redis redis-server --save 60 1 --loglevel warning

  $ docker run --name gobarber -e POSTGRESQL_USERNAME='postgres' -e POSTGRESQL_PASSWORD='postgres' -e POSTGRESQL_DATABASE=gobarber -p 5432:5432 bitnami/postgresql:latest

  $ cd backend

  $ yarn

  $ yarn typeorm migration:run

  $ yarn dev:server

💻 Starting front-end

  $ cd frontend

  $ yarn

  $ yarn start

📱 Starting mobile

  $ cd mobile

  $ yarn

  $ yarn ios ou yarn android

🔨 Attention

All configuration files are in the project only for study purposes, so they are not secure enough for a production environment.

📝 License

This project is under the MIT license. See the [LICENSE]

Desktop

Screen_1 Screen_2

Mobile

Screen_3 Screen_4