Online Exam Portal
View the Live Application (click here)
- Move to frontend directory (
cd frontend
). - Clone repository
- Install gulp
- Run
gulp serve
Make sure you have gulp installed globally (npm install -g gulp
)
Node version must be 10.
For convenience, we have a live API server running at https://microsoftback.herokuapp.com/ for the application to make requests against.
If you want to change the API URL to a local server, simply edit src/app/components/services/BaseUrl.js
and change api
to the local server's
Note: bower_components and node_modules are the dependencies file not the we pushed it on the repo for the easier installation for you.
- Move to backend directory (
cd backend
). - Run the environment (
.\env\Scripts\activate
) command to run env for window. - In this environment all the dependencies are fulfilled which are mentioned in the requirement.txt file.
- Python should be installed in the system globally python version – 3.9.0
- The Database used here is the remote MySQL database so their is no need to install the database.
- If you wants to create your own local database then install the MySQL database or install Xampp for windows then connect it to backend app by simply editing the
backend/setting.py
file and after runpython manage.py makemigrations
&python manage.py migrate
, note that if you are not using local database them no need to run these commands then skip this step. - Run
python manage.py runserver 8000
. - The server will get started and gives you the address (e.g: http://127.0.0.1:8000). You can simply update it on frontend
src/app/components/services/BaseUrl.js
file if you want to connect it to local server. - Again, go the frontend directory and
again Run gulp serve
. - You will get redirected to the homepage for the app Automatically.