Coder Social home page Coder Social logo

geuxor / localife-backend Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 14.72 MB

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.

JavaScript 100.00%
react typescript expressjs postgresql

localife-backend's Introduction

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!

localife-backend's People

Contributors

geuxor avatar greenseb avatar willwendal avatar

Watchers

 avatar  avatar

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.