Skip to content

Tools&Co is a FullStack Web application made by @bapturp @hugoviolas and @inesza during the Ironhack Web Development Bootcamp in only 4 days!

Notifications You must be signed in to change notification settings

bapturp/toolsandco

Repository files navigation

Tools&Co gives people the ability to rent various tools and achieve their DIY dreams 🤩

Tools&Co is a FullStack web application made by @bapturp @hugoviolas and @inesza during the Ironhack Web Development Bootcamp in only 4 days 🚀

Technologies used

  • Javascript
  • HTML
  • CSS
  • Node
  • Express
  • Mongoose
  • MongoDB

It implements 5 database models, full CRUD operations, sign up/login/logout, 3 differents user roles.

Setup dev environment

Dependencies

Install the following packages on your local machine:

  • npm version 8
  • node version 18
  • mongodb version 6

Clone repo

git clone https://github.com/bapturp/toolsandco.git
cd toolsandco/

Setup the .env file

This project requires some environment variables to run, it reads the file .env on startup. An example file is provided .env.example.

Environment variables:

  • PORT: Port on which the the website is accessible.
  • MONGODB_URI: URI of the mongo database (i.e. mongodb://127.0.0.1:27017/toolsharing).
  • SESSION_SECRET: Secret used to sign the session ID cookie, see session doc.
  • CLOUDINARY_NAME: Cloudinary name
  • CLOUDINARY_KEY: Cloudinary key
  • CLOUDINARY_SECRET: Cloudinary secret

Install NodeJS dependencies

npm install

Seed the database

Default data can be seed in the database:

npm run seed

Start the project

npm run dev

About

Tools&Co is a FullStack Web application made by @bapturp @hugoviolas and @inesza during the Ironhack Web Development Bootcamp in only 4 days!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published