Giter Club home page Giter Club logo

final-project-ironhack-backend's Introduction

Project Name

Description

Application where the user can post needs and other users can apply.

User Stories

  • 404: As an anon/user I can see a 404 page if I try to reach a page that does not exist so that I know it's my fault
  • Signup: As an anon I can sign up in the platform so that I can start sharing my services and getting help in my needs
  • Login: As a user I can login to the platform so that I can start sharing my services and getting help in my needs
  • Logout: As a user I can logout from the platform

//User

  • Add a need As a user I can add a need so that I can share it with the community and others can offer their services
  • Have a profile As a user I want to have a profile, so that others can check me.
  • Check my needs As a user I want to check my needs, so I can see if some worker applied to them
  • Check my applies As a user I want to check my applies, so that I can track my applies

//Worker

  • Search needs As a worker I want to search needs
  • List of needs As a worker, I want to see all the needs to apply in those that interest me
  • Apply As a worker, I want to apply to those needs than I can solve

Backlog

User profile:

  • Map
  • Finish rate system

#Server

Models

User model

username: String
email: String
password: String
profession: String
description: String
telephone: Number
photo: String
rating: Number
rate: Number
jobsDone: Number

Needs model

owner: ObjectID <ref: User>
title: String
rate: Number
tags: Array
description: String
isActive: Boolean
waitingNotification: Number

Apply model

need: ObjectId (ref Need)
applicant: ObjectId (ref User)
comment: String
status: String

API Endpoints/Backend Routes

//AUTH

  • GET /auth/me

  • POST /auth/login

    • body:
      • username
      • password
  • POST /auth/signup

    • body:
      • username
      • password
      • profession
      • telephone
  • POST /auth/logout

  • GET /auth/private

  • PUT /auth/:id

    • body
      • User (Object)

//NEEDS

  • POST /need/add

    • body
      • id
      • title
      • rate
      • description
      • tags
  • GET /need/latest

  • GET /need/all

  • GET /need/all/:id/

  • GET /need/:id

  • PUT /need/:id

    • body
      • userId
      • need
  • DELETE /need/:id

    • body
      • needID
      • userID

Git

Deployed project

Deploy link

Slides

Presentation slide

Slides Link

final-project-ironhack-backend's People

Contributors

franlol 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.