GithubHelp home page GithubHelp logo

holidrinks's Introduction

Holidrinks

Description

Holidrinks is an app for travellers or anyone in holidays who wish to meet some people around drinks in the location of their travel. This app allow people to form groups during their trip in order to share experiences, advices and activities, especially for solo travellers.

User Stories

homepage - Here the user is getting informed about the subject of the app and can login and signup sign up - This page allow the user to create an account on the app in order to join an event/Holidrinks login - The user can access the personal account by login logout - The user can log out from the app so the data of the personal account are keept safe from anyone else 404 - This page will show up if the user enter incorrect URL 500 - This page will show up if the the application is broken, internal error

Backlog

#Client

React Router Routes (React App)

Path Component Permissions Behavior
/ SplashPage public <Route> Home page
/signup SignupPage, ProfilPic anon only <AnonRoute> Signup form, navigate to MenuPage after signup
/signin SigninPage anon only <AnonRoute> Login form, navigate to MenuPage after login
/logout n/a user only <PrivateRoute> Navigate to splashpage after logout, expire session
/menu General Menu Button,Log out user only <PrivateRoute> Shows the 4 sections of the app
/ DatesSearchBar, GroupItem, NavBar user only <PrivateRoute> Shows events from others host, navigate to HoliHostPage
/events/new DatesSearchBar, AddEvent, NavBar user only <PrivateRoute> Shows create Holidrinks, Holidrinks made already, Navigate to EditEvent page
/:userId/events NavBar,DatesSearchBar, EditEvent,DeletEvent,ViewMap user only <PrivateRoute> Shows Holidrinks edit section, Navigate to CreateEvent page

Routes

  • GET/
  • GET /auth/signup
  • POST /auth/signup
  • redirects to / if user logged in
  • body: full name email password
  • GET /auth/login
  • POST /auth/login
  • redirects to / if user logged in body: username: password:
  • GET /
  • POST /
  • GET /logout

#SERVER

Models

User profil { username: {type: String, required: true, unique: true}, email: {type: String, required: true, unique: true}, password: {type: String, required: true}, image :{type: String, required: true, unique: true}, description : {type: String, required: true, unique: true}, }

Event { organised by: { type: String, required: true }, description: { type: String, required: true }, image: { type: String, required: true }, address: { type: String, required: true }, location: { lat: { type: Number, required: true }, lng: { type: Number, required: true }, }, creator: { type: String, required: true } }

Links

Trello [https://trello.com/invite/b/QWZaYoB3/7f371369f53fee93e146420165313c92/holidrinks]

Git / Repository Link [https://github.com/aurorecr/holidrinks]

Deploy Link [https://mystifying-heisenberg-342295.netlify.app/auth]

holidrinks's People

Contributors

aurorecr avatar

Watchers

 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.