.
├── client # Frontend
├── server # Backend
└── README.md
For this python>= 3.8 is required
-
$ cd server $ pip install -r requirements.txt
-
$ touch env.py $ openssl rand -hex 32 24fc0024fa7314a87e8591d6758b860932de20de65294ab89fb3836332bc9c73
Copy the generated key inside env.py file, in the same format as given in env.example.py file
-
$ cd .. $ python3 server/main.py
-
Now, the server is hosted at localhost:8000, and the API documentation along with all the endpoints can be accessed at localhost:8000/docs
For this node and npm is required
Open a new terminal and run the following commands.
$ cd client
$ npm i
$ npm start
- Now we can access our app on localhost:3000
- Admin Login
username = [email protected] password = 123456
- Normal User
username = [email protected] password = 123456