This repository contains the source code of the web client, available here.
For a native version of the application, see this Github repo and its Releases. Note that this is only available for Android for now.
- An installation of the latest NodeJS (ideally the version needed for the Angular CLI)
To build the source code, follow these steps:
-
Clone this repository locally.
cd path/to/dir git clone https://github.com/EdricChan03/StudyBuddy-web -
Install the modules.
npm i
-
Run any one of the commands:
-
npm startServes the app in production mode -
npm run serveDevServes the app in development mode
-
-
Navigate to
localhost:4200.
Done!
Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.
Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.
Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the -prod flag for a production build.
To get more help on the Angular CLI use ng help or go check out the Angular CLI README.