An open API service indexing awesome lists of open source software.

https://github.com/pedrochamberlain/proffy

A single page application for Rocketseat's Next Level Week #2
https://github.com/pedrochamberlain/proffy

react react-native spa tutorial typescript

Last synced: about 1 month ago
JSON representation

A single page application for Rocketseat's Next Level Week #2

Awesome Lists containing this project

README

          


Proffy


Proffy


Online teaching platform made with Typescript, React, React Native, Expo and Express during Rocketseat's Next Level Week #2


:computer: Running the Web Application


Requirements

- Node

```zsh
# Download nvm (Node Version Manager)
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash

# This loads nvm
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"

# Install Node
nvm install node
```

- Yarn

```zsh
brew install yarn
export PATH="$PATH:`yarn global bin`"
```


Setup

```zsh
# Clone the Repository
git clone git@github.com:pedrochamberlain/proffy.git

# Access the web folder
cd proffy/web

# Install the Dependencies
yarn install

# Start up the front-end
yarn start

# Access the server folder
cd ../server

# OPTIONAL: Start up a new database
rm src/database/database.sqlite
yarn knex:migrate

# Install the Dependencies
yarn install

# Start up the server, it'll be hosted on port 30
yarn start
```


:iphone: Running the Phone Application (Without Emulator)


Requirements

- Install Repo on your machine

```zsh
yarn global add expo-cli
```

- Download the Expo app on your device
- iPhone
- Android


Setup

```zsh
# Clone the Repository
git clone git@github.com:pedrochamberlain/proffy.git

# Access the web folder
cd proffy/mobile

# Install the Dependencies
yarn install

# Start up the app
yarn start

# Access your Expo app on your device and connect with the QR Code
```