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.
Install the following packages on your local machine:
- npm version 8
- node version 18
- mongodb version 6
git clone https://github.com/bapturp/toolsandco.git
cd toolsandco/
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 nameCLOUDINARY_KEY
: Cloudinary keyCLOUDINARY_SECRET
: Cloudinary secret
npm install
Default data can be seed in the database:
npm run seed
npm run dev