Skip to content
This repository has been archived by the owner on Mar 9, 2022. It is now read-only.
/ wishlist-js Public archive

my private JavaScript learning project that will lead to an awesome online wishlist service

Notifications You must be signed in to change notification settings

sebkraemer/wishlist-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wishlist-js backend service

About

As a private project to get into JS and backend development with node, I decided to create this web project. The idea for a wishlist came from the family just at the right time (isn't it more fun to have a project with real applicability instead of just coding a tutorial?) Anything technically new for me is currently mostly drawn from Pluralsight material. This is based on code from https://app.pluralsight.com/library/courses/node-js-express-rest-web-services-update

Planned basic features

  • node.js based backend service for REST API
  • service uses db for data persistence, probably mongodb
  • some kind of frontend, undecided yet; possible solutions:
    • html with server side renderin/templating
    • web based solution with react
    • native mobile app
    • react native
    • flutter
    • ?

Possible additional or advanced features

  • user authentication
  • deployment solution
  • extended data model (more properties)

other

  • tests incl. mocking
  • github CI
  • sonarqube

Documentation

API

resource

{
    "id": 1,
    "owner": "seb",
    "wish": "anc headset",
    "link": "http://am.com/asdfh923h",
    "notes": "for the job",
    "priority": 2, // [1-3] ?
    // dateCreated, dateChanged, maybe
}

REST routes

{
  "GET /api/wishes": {
    "desc": "returns all wishes",
    "response": "200 application/json",
    "data": [{}, {}, {}]
  },

  "GET /api/wishes/:id": {
    "desc": "returns a wish respresented by its id",
    "response": "200 application/json",
    "data": {}
  },

  "POST /api/wishes": {
    "desc": "create and returns a new wish uisng the posted object",
    "response": "201 application/json",
    "data": {}
  },

  "PUT /lions/:id": {
    "desc": "updates and returns a wish with the posted update object",
    "response": "200 application/json",
    "data": {}
  },

  // "PATCH /lions/:id" ?

  "DELETE /lions/:id": {
    "desc": "deletes and returns the matching wish",
    "response": "200 application/json",
    "data": {}
  }
}

About

my private JavaScript learning project that will lead to an awesome online wishlist service

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published