Giter Site home page Giter Site logo

ih-started-backend's Introduction

Project Name

Instructions how to start

create .env file like the example .env.sample

start with npm run start-dev

http://localhost:5000

Description

Describe your project in one/two lines.

Motivation

Just a litle API for educational purposes.

User Stories

404 - As a user I want to see a nice 404 page when I go to a page that doesn’t exist so that I know it was my fault

500 - As a user I want to see a nice error page when the super team screws it up so that I know that is not my fault

Homepage - As a user I want to be able to access the homepage so that I see what the app is about and login and signup

Sign up - As a user I want to sign up on the webpage so that I can see all the events that I could attend

Login - As a user I want to be able to log in on the webpage so that I can get back to my account

Logout - As a user I want to be able to log out from the webpage so that I can make sure no one will access my account

Events list - As a user I want to see all the events available so that I can choose which ones I want to attend

Events create - As a user I want to create an event so that I can invite others to attend

Events detail - As a user I want to see the event details and attendee list of one event so that I can decide if I want to attend

Attend event - As a user I want to be able to attend to event so that the organizers can count me in

Backlog

List of other features outside of the MVPs scope

User profile: - see my profile - upload my profile picture - see other users profile - list of events created by the user - list events the user is attending

Geo Location: - add geolocation to events when creating - show event in a map in event detail page - show all events in a map in the event list page

Homepage: - …

ROUTES:

Endpoints

Method Path description Body
GET /protected protected route

Auth

Method Path description Body
GET /whoami who am i
POST /signup signup a user { username, password }
POST /login login a user { username, password }
GET /logout logout session

Models

User model

{
	username: String;
	password: String;
}

Event model

{
	owner: ObjectId<User>
	name: String
	description: String
	date: Date
	location: String
}

Links

Trello

Link to Trello

Git

The url to your repository and to your deployed project

Repository Link

Deploy Link

Slides

Slides Link

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.