- OS: macOS / Linux / Windows
- PM: Yarn
- IDE: Visual Studio Code (recommended)
- required plugins:
- Clone this repository
git clone https://github.com/AOPLab/PenDown-fe-chakra.git
- Open the directory in your favorite text editor (VS Code is highly recommended). If you are using VS Code, please make sure you have the mentioned plugins installed.
- In terminal, use
yarn
to install the dependencies. - Before you run our app, please connect to a backend server (either ours or yours)
- Run
yarn start
to run the app in the development mode.
You have two options:
- Please contact us for the
.env
file. Our present data are all stored in our server. - If you want to replicate this app, please also consider to clone our
PenDown-be
repository, and follow the instructions there.
In your .env
, you should put in:
SKIP_PREFLIGHT_CHECK = true
REACT_APP_API_ROOT='http://127.0.0.1:8080'
REACT_APP_OAUTH_ID=YOUR_AUTH_ID
You should sign up for your own "Continue with Google" AUTH ID. That said, it won't cost you anything if you don't do so, that'll allow your clients to continue without Google.
That'll do it.
Test Result: 34 pass / 34 tests
- MiscCard
- CourseCard
- NoteCard
- LoginForm
- RegisterForm
- note
- user
- school
- avatarSrc
- statFormatting
Please refer to PenDown-test
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.