/localife-backend

A P2P platform using JavaScript Frameworks, relational databases and a Payment Gateway. Localife is targeted to encourage travellers to live memorable moments with locals in their everyday lives.

Primary LanguageJavaScript

Localife - your next local adventures

Backend client files for the localife app. (localife Frontend)

All Contributors GitHub licenseGitHub release GitHub issues

localife logo

Localife is an app that encourages you to explore the world by enjoying the life of a local! It started with an idea of a scratch map and evolved into a good looking, smooth running and fun Web App. Localife is made with React and Express and with the help of Postgres and Redis.

Once you're logged in (0Auth is coming next...), start searching by location and dates - you will discover many type of local experiences listed while visible in a map! You can select a map pin for more information and see the description of each experience. You can book by date and amount of people using Stripe Connect and see a list of bookings and (coming soon... start chatting with the provider).

It's very easy to register as a provider, and you can start creating experiences in no-time. As a provider you decide the price, location and images.Travellers will soon be booking your experience and you can start sharing your daily activities, stories, common interests and favorite spots with the visitor.

Teaser:

Checkout the video demo of the app:

Watch the video

Table of contents

localife backend
Tech Stack
Running localife
Architecture Observations
Developers Team
Contributors

Tech Stack

Backend

https://www.npmjs.com/package/bcrypt https://redis.io https://expressjs.com https://www.postgresql.org https://sequelize.org https://github.com/marak/Faker.js https://eslint.org/ https://www.stripe.com

Frontend

https://www.cloudinary.com https://www.material-ui.com https://www.stripe.com https://www.typescriptlang.org https://www.reactjs.org https://ant.design/ https://github.com/axios/axios https://redux.js.org/ https://styled-components.com/ https://eslint.org/

CI / CD

Hosting

Authentication

  • Session Cookies with bcrypt

APIs

Running localife

  • Fork & clone this repo
    Run npm i in localife directory
    Adjust the necessary env variables to match your system. There's a .env.copy file to help you with this process.
    (You will need an API key for the untappd and google places APIs)
    Run npm start

  • Fork & clone the server repo
    Make sure you have postgreSQL installed on your machine mac || windows
    Run npm i in localife-backend/server directory
    Adjust the necessary env variables to match your system. There's a .env.copy file to help you with this process. Edit the ./config/config.json file with your database details. With the database running, run npm run recreateDb. This will generate the tables in the database and seed the data to get the project started. Run nodemon in localife-backend/server directory

Architecture

Observations

Room for improvements
  • Explore using a more global styling method
  • Better typing for TypeScript
  • Write tests
Upcoming Pull Requests
  • Deploy localife to the web
  • Add chat system
  • Add new cities
  • Add more badges
  • Create PWA

Developers Team 💝

😋 German - Github - LinkedIn
🤠 Seb - Github - LinkedIn
🥳 Maria - Github - LinkedIn
😂 Will - Github - LinkedIn

Contributors ✨

ForTheBadge built-with-love
Thanks goes to these wonderful people...


German

🚇 💻

Seb

🚇 💻

Maria

🚇 💻

Will

🚇 💻

This project follows the all-contributors specification. Contributions of any kind welcome!