A web application where users can journal and take care of a virtual pet at the same time. This app was created to encourage journaling with some sense of responsibility. Inspired by Tamagotchi. I've always wanted an application where you could journal more while growing alongside another pet. It wasn't until now, that I had the necessary skills in order to create such a dream.
-
Clone the repository
https://github.com/James-H007/Journa-Gami.git
-
Install dependencies
npm install pipenv install -r requirements.txt
-
Create a .env file based on the example with proper settings for your development environment
Should look like this:
SECRET_KEY= notSecret DATABASE_URL=sqlite:https:///dev.db SCHEMA=journa_schema
-
Make sure the SQLite3 database connection URL is in the .env file
-
This starter organizes all tables inside the
flask_schema
schema, defined by theSCHEMA
environment variable. Replace the value forSCHEMA
with a unique name, making sure you use the snake_case convention. -
Get into your pipenv, migrate your database, seed your database, and run your Flask app
pipenv shell
flask db upgrade
flask seed all
flask run
-
To run the React App in development, first enter the following code below in the terminal to start the back-end:
pipenv run flask run
-
Then run the front-end in a seperate split terminal, enter:
npm start
-
Then navigate to https://localhost:3000
Technology | Use Case |
---|---|
Python | Used for backend logic |
JavaScript | Frontend interactivity |
HTML | Markup language for web development |
CSS | Stylesheet language for web development |
React | Javascript library for building user interfaces |
Redux | Javascript library for managing application state |
Flask | Python web framework |
Socket.io | Connections to facilitate real-time communication |
Git | Version control system |
Postgres | Relational database management system |
SQLAlchemy | SQL toolkit and Object-Relational Mapping (ORM) |
Sqlite | Lightweight in-process library |
Node.js | Javascript runtime environment |