Giter Site home page Giter Site logo

introverse's Introduction

Description

This web application is purely bulit to help prevent loneliness around teens and older also, connect them to people they can speak to, this website also offers resources on where to get help if you require it. We achieve this by creating a community where anyone can posts anything on there minds.

Frontend

Follow the following steps to get frontend of application running in your terminal;

1. cd my-app
2. npm install
3. npm start
4. Enjoy exploring our website.

Backend

See Flask Readme for more information

To set up and run the server

  1. Create a virtual python environment (can do this with command or VScode should prompt you when try to run a file) and select it.
python -m venv venv
  1. Install the required packages with pip (or pip3 for mac).
pip install -r requirements.txt
  1. Set up the .env file, can create a copy of (or rename) .env.example and save as .env. Follow the instructions to add a secret key and your MySQL credentials.
  2. Create the databases, either through the SQL script or with Python. Running create_db.py will create them if they don't exist or print if they do.
python create_db.py
  1. Create tables of the development database through the SQL script or running create_tables.py (recommended). Can use flask migrate, flask db upgrade, to get the latest migrations of tables. Alternatively you can also uncomment with app context db.create_all in the app.py factory function.
python create_tables.py
flask db upgrade
  1. Insert the book, game, and anime data from the SQL script file into your database so that can use the recommendation feature.
  2. Run app.py to start the server
python app.py

Enjoy!

introverse's People

Contributors

meteorstrike1 avatar angel2001-programmer avatar

Stargazers

 avatar Katalin avatar

Watchers

 avatar

introverse's Issues

JWT extended protected routes and get identity not working

Need to look into it but not a priority
In the meantime have removed @jwt_required decorator from routes
Have also created a member search route in order to get profile information so that we can develop the edit profile page in the frontend

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.