Giter Site home page Giter Site logo

stefanosaffran / proffy Goto Github PK

View Code? Open in Web Editor NEW
11.0 2.0 1.0 752 KB

๐Ÿ“š Proffy - Developed during the event NLW 2.0 by @Rocketseat

License: MIT License

HTML 0.60% TypeScript 98.99% JavaScript 0.42%
reactjs proffy rocketseat teach nodejs typescript postgres typeorm docker backend nextlevelweek react-native theme-switcher frontend mobile

proffy's Introduction


๐Ÿ“š NextLevelWeek 2.0 ๐Ÿ“š

Project programing languages count Repository size Last commit on GitHub Made by Stefano Project top programing language GitHub license

Projectย ย ย |ย ย ย  Built withย ย ย |ย ย ย  How to runย ย ย |ย ย ย  Licenseย ย ย |ย ย ย  Get in touch

Run in Insomnia

๐Ÿšง Under Construction ๐Ÿšง

๐Ÿ’ป Project

Proffy is an application that aims helping to bring together people who need help in some subject with those who like to teach.

๐Ÿš€ Built with

This project was developed with the following technologies:

Server
Web
Mobile

โ„น๏ธ How to run

Requirements

To run the application you will need:

I strongly recommend using Docker to run the databases.
If you decide to use docker, follow this steps to install and run the docker image.

# install Postgres image (if you don't specify an username it will be postgres by default)
$ docker run --name imagename -e POSTGRES_PASSWORD=yourPassword -p 5432:5432 -d postgres

# start Postgres
$ docker start imageName

Backend

Now clone the repository and install the dependencies.

# to clone the repository
$ git clone https://github.com/StefanoSaffran/proffy.git

# go into the server folder
$ cd proffy/server

#install the backend dependencies
$ yarn

In order to connect to the database, you will need to enter the access informations into a ormconfig.json. You can find more about it here.

# run migrations
$ yarn typeorm migration:run

# run api
$ yarn dev:server

Frontend

# in another tab of the terminal install the web dependencies and run it 
$ cd web
$ yarn
$ yarn start

Mobile

The Application was developed using Expo. It is a free and open source toolchain built around React Native to facilitate the process of running and testing applications. Click here to get start with Expo.

# install the dependencies
cd mobile
yarn

In order to run the application on your device, you need to change the ip config.

api.ts

  baseURL: 'http://192.168.0.185:3333',

replace 192.168.0.185 with your machine's ip.

Now with everything on place, run the application.

# to run the app
yarn start

Expo will open a page in your browser, scan the QRcode on the page and wait for the app to load.

The Application was developed and tested on Iphone 6s and Android Studio Emulator.

๐Ÿ“ License

This project is under the MIT license. See the LICENSE for more information

๐Ÿ“ฌ Get in touch!

Website - Stefano Saffran ย ย ย  Linkedin - Stefano Saffran ย ย ย  Email - Stefano Saffran

Made with โ˜• and โค๏ธ by Stefano Saffran.

proffy's People

Contributors

stefanosaffran avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

rafael6g

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.