Play Dive Deeper here!
A little exercise to build a web application following an agile development process. See the instructions for more detail.
A web app card game that fosters deeper connections with others through question prompts.
- As a player, I can log in.
- As a player, I can sign up.
- As a not-logged-in player, I can play with sample decks.
- As a logged-in player, I can play with sample decks and my personal decks.
- As a logged-in player, I can create a new deck.
- As a logged-in player, I can edit an existing deck.
- As a logged-in player, I can delete an existing deck.
- As a logged-in player, I can search for an existing deck.
- As a logged-in player, I can log out.
Sprint 1 Task Board
Sprint 2 Task Board
-
Download the source code from the repository
git clone https://github.com/software-students-spring2024/2-web-app-exercise-gas2.git -
Install pipenv using pip or pip3
pip install pipenvor
pip3 install pipenv -
Activate the virtual environment
pipenv shell -
Install the dependencies
pipenv install -
Create a file called
.env. Populate it with the following:MONGO_DBNAME=gas MONGO_URI=mongodb+srv://<username>:<password>@gas.xhjamgl.mongodb.net/?retryWrites=true&w=majority&appName=gas SECRET_KEY=<key>To run it locally using Dive Deeper's database via MongoDB Atlas, you need to replace
<username>,<password>, and<key>with the right information. Please contact the authors for this information.Note: using your own database
Alternatively, you can create your own database. Replace the
MONGO_URIstring with the connection string generated by MongoDB. ReplaceMONGO_DBNAMEwith the name of your database, and replace<username>and<password>with the credentials used to generate the database. Also replace<key>with a secret key of your choosing. Furthermore, make sure to create a collection namedusersand another collection nameddecks. -
Finally run the app
flask run
