Server software for Calendar App. This project was made as an final project for Software Making class in our university.
Related project: Calendar App Client (Mobile Application)
This project has a wiki page that covers details of this server software. You can access it from here (Turkish only for now).
This section has been covered in this project's wiki but we will cover it again here.
-
Firstly, clone the repository.
git clone https://github.com/berkakkaya/calendar_app_server.git
-
We need to create a environment. To do so, we need to install the
virtualenv
package.pip install virtualenv
-
And then, in the project directory, run this terminal command.
virtualenv venv
-
Enter the virtual env. To do so, we need to run an activation script.
-
For Windows (in Powershell):
.\venv\Scripts\Activate.ps1
-
For Linux:
source venv/bin/activate
-
-
Install the required packages inside the virtual environment.
pip install -r requirements.txt
-
You need to generate an access token and a refresh token. To do so, run this command in your terminal:
python -c "import secrets; print('REFRESH_SECRET =', secrets.token_hex(32), '\nACCESS_SECRET =', secrets.token_hex(32))"
Copy the output and paste it into the
.env
file. -
You need to specify the
DATABASE_URL
parameter in the.env
file. Specify your MongoDB database connection string and you're ready to go. For testing the API, you can use the Thunder Client VSCode Extension.
- Berk Akkaya - Project Leader, Mobile Application Developer
- İrem Akkın - Backend Developer
- Kemal Beydilli - Backend Developer