Coder Social home page Coder Social logo

work-with-us's Introduction

Work With Us Web APP

Developers:

David de Lamo & Toni Sanchez

Link to heroku || Offline. Updating Backend & passing front to React.

Description

Work With Us is an App for offer jobs.

User Stories

  • As a user I want to see a list of announcements.
  • As a user (professional & client) I want to have a profile page.
  • As a user (client) I want to post an announcement.
  • As a user (client) I want to edit my announcement.
  • As a user (professional) I want to be able to offer for a work.
  • As a user (professional & client) I want to edit my data profile.
  • As a user (professional & client) I want to view finished works.

Backlog

  • As a user (client) I want to be able to define the geocalization of my announcement.
  • As a user I want to see a list of announcements in my area.
  • As a user (professional & client) I want to post a review of the work done.

Routes

Method URL Description
GET '/' Render index Homepage (public)
GET '/auth' Render Login & signup form (public)
GET '/auth/:email' Render Login & signup form with email added on '/'
POST '/login' Redirect to /user-profile (public)
POST '/signup' Redirect to /user-profile && create an instance of user on DB (public)
GET '/logout' Close Session and redirect to index
GET '/myaccount' Render account data (private)
POST '/editUser/:userid' Update the user data
GET '/announcements' Render announcements list
GET '/announcements/:announcement id' Render announcement details
POST '/announcements/:announcement id/make-offer' Make offer to client (professional user) (button hidden if professional user)
GET '/announcements/:announcement id/edit' Render announcement data form (private) (button on announcement)
POST '/announcements/:announcement id/edit' Update announcement data (private)
POST '/announcements/:announcement id/delete' Remove announcement from DB (private) (button on announcement)
GET '/addAnnouncement' Render new announcement form
POST '/addAannouncement' Create new announcement on DB & redirect to '/announcements/:announcement id'
GET '/user/:userid' Render user profile (public)
GET '/addreview/:userid' Render form for add a review after finish work
POST '/addreview/:userid' Create the review at DB

Models

  • User: {

    • email

    • photo

    • name

    • PWD

    • Announcements => [Model.type('Announcement')]

    • workInProgress: ObjectId

    • address

    • city

    • description

    • reviews: [ObjectId]

      }

  • Announcement: {

    • Title
    • Category
    • Description
    • Tags
    • Photos
    • PhotoCard
    • Assigned (boolean)
    • Announcer: ObjectId
    • Professional: ObjectId
    • Offers: [{
      • ObjectId }]
    • Offer Accepted
    • Finished (boolean)
    • Chat: ObjectId
    • Location { state city lat lng } }
  • Review: {

    • Title
    • Announcement(Model.type('Announcement'))
    • Description
    • Rating }
  • Offers: {

    • professional: ObjectId,
    • announcement: ObjectId,
    • estimatedPrice:
    • accepted:
    • finished: }
  • Chat: {

    • messages: [String],
    • announcement: ObjectId }

work-with-us's People

Contributors

dependabot[bot] avatar dlamo avatar tonisg91 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.