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
- Host: GitHub
- URL: https://github.com/pedrochamberlain/proffy
- Owner: pedrochamberlain
- License: mit
- Created: 2020-08-03T19:49:04.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2023-01-26T22:31:09.000Z (over 3 years ago)
- Last Synced: 2025-06-17T11:47:41.242Z (about 1 year ago)
- Topics: react, react-native, spa, tutorial, typescript
- Language: TypeScript
- Homepage: https://nextlevelweek.com/
- Size: 43.8 MB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 42
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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
```