Skip to content

Quick frontend - backend - db system for managing gifts for a family

Notifications You must be signed in to change notification settings

lcalem/family-presents

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Presentation

This small project was made to organize the presents for my family. Every registered member of the family can add wishes, and can see wishes from other members of the family. Everyone can then claim a wish to say "I will buy this" and the wish disappear from the "available" list in order to avoid two people buying the same gift. You can also contribute to a gift without buying it entirely, and the system keeps track of the remaining amount missing from this gift, which can be helpful for group gifts.

alt text

How to install

Guide intended for technical people, I don't have a general install yet sorry.

  1. Go on your server
  2. Clone the repo git clone [email protected]:lcalem/family-presents.git
  3. Set the listening ports with export PROJECT_PORT=80 and export PROJECT_HTTPS_PORT=443 or whatever port you want to use
  4. cd in the repo and build the docker using make build_prod
  5. Up the server and the DB using make run_all_prod
  6. Go in the db container (docker exec -it docker_mongo_prod_1 mongo) and set the active db to "data" (mongo> use data)
  7. Insert users of your system db.users.insert({"name": "<DISPLAY_NAME>", "username": "<USERNAME>", "password": "<PASSWORD_HASH>", "families":["Smith", "Dupond"]})

After this procedure the website should be up and running on your server, to make it accessible from a specific URL you own you then need to make a DNS redirection to your server IP.

About

Quick frontend - backend - db system for managing gifts for a family

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published