Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Books2share

Link to our application

What ?

We made a Book Renting website this week, we worked and made a database and connected it to the website, and the user can , search, add and remove entries from the database.

Routes

Main Home page, everything can be done on the main website, users can add entries with a popup, press a button either search or emove entries from the website

How to use locally?

  1. git clone this repo.
  2. git install, if something was missing, please install manually to your machine, nyc, tape, tape-spec, supertest, nodemon.
  3. for nyc tests, nyc npm test.
  4. to deploy the server, we made an easy script for you, just type in your terminal 'npm run connect', and it will be deployed with nodemon, if you with to deploy without nodemon, just type in 'run start'.

Main goals

  • Simple web app with a node server and a database
  • Your database comes with a schema, which should be documented in your readme (along with any other architectural decisions)
  • Database hosted on Heroku, or locally
  • Build script for your database
  • Security concerns appropriately considered (you must protect against script injections!)
  • Content dynamic, but DOM manipulation kept to a minimum
  • [] Mobile-first design
  • Clear user journey (even if you take one of our suggested ideas, document the user journey in your readme)
  • [] test your server routes with supertest
  • test your pure functions both server and client side
  • set up a test database so that you can test your database queries
  • [] simple authentication

Stretch goals

  • Rating books
  • Books can simultaneously be reserved by multiple users but for different dates

Design artheticture

WILL BE ADDED SOON

Tools/technologies used

  • Heroku - For deploying/hosting server and database.
  • Tape - for testing.
  • PostgreSQL - for database
  • Supertest for testing.
  • nodemon - for hosting locally.
  • Node.js - backend.

Team members

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages