Skip to content

Full-stack web application developed with React.js, Python, Flask, and SQLAlchemy. Counts with a live map from Google Maps and the current weather.

Notifications You must be signed in to change notification settings

siemeris/Teamder

Repository files navigation

Teamder Project

What is Teamder?

Teamder is a Full-stack interactive web application deployed to Heroku, made in order to satisfy the needs of those who are willing to find new teammates. There is a live map and a calendar with the current posted activities and the weather so, once you are signed up to the database, you will be able to invite and join other people to do some outdoor excercise.

Technologies we worked with

React.Js, Flux, Python, Flask, SQLAlchemy, Geocoding API, OpenWeatherMap, Heroku

Back-End Manual Installation:

It is recomended to install the backend first, make sure you have Python 3.8, Pipenv and a database engine (Posgress recomended)

  1. Install the python packages: $ pipenv install
  2. Create a .env file based on the .env.example: $ cp .env.example .env
  3. Install your database engine and create your database, depending on your database you have to create a DATABASE_URL variable with one of the possible values, make sure yo replace the valudes with your database information:
Engine DATABASE_URL
SQLite sqlite:////test.db
MySQL mysql://username:password@localhost:port/example
Postgress postgres://username:password@localhost:5432/example
  1. Migrate the migrations: $ pipenv run migrate (skip if you have not made changes to the models on the ./src/api/models.py)
  2. Run the migrations: $ pipenv run upgrade
  3. Run the application: $ pipenv run start

Backend Populate Table Users

To insert test users in the database execute the following command:

$ flask insert-test-users 5

And you will see the following message:

  Creating test users
  test_user1@test.com created.
  test_user2@test.com created.
  test_user3@test.com created.
  test_user4@test.com created.
  test_user5@test.com created.
  Users created successfully!

To update with all yours tables you can edit the file app.py and go to the line 80 to insert the code to populate others tables

Front-End Manual Installation:

  • Make sure you are using node version 14+ and that you have already successfully installed and runned the backend.
  1. Install the packages: $ npm install
  2. Start coding! start the webpack dev server $ npm run start

About

Full-stack web application developed with React.js, Python, Flask, and SQLAlchemy. Counts with a live map from Google Maps and the current weather.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published