Explore the docs »
View Demo
·
Report Bug
·
Request Feature
Table of Contents
Rock the Cradle is a clone of Rent the Runway where users are able to rent high end fashion items without the need to invest in purchasing them outright. Rock the Cradle takes this concept and refocuses the target audience to be families with newbords and young children. In addition to clothing, Rock the Cradle will offer rentals of high dollar items associated with young children (cribs, rockers, strollers, etc).
- PostgreSQL
- Express.js
- Pug.js
- JavaScript
- CSS
- Bcryptjs
- Express-session
- Express-validator
- Node.js
To run this application locally, you'll need to:
git clone
this repocd
into the local reponpm install
to install the dependencies- Create a
.env
file based on the.env.example
file included in the repo with your own values - Create a user on your local machine with the username and password specified in your
.env
file in PostgreSQL - Run
npx dotenv sequelize db:create
to create the database - If the sequelize module is not found, try running
npx dotenv sequelize-cli db:create
and replace sequelize with sequelize-cli for the rest of these commands - Run
npx dotenv sequelize db:migrate
to run the migrations - Run
npx dotenv sequelize db:seed:all
to seed the database - Finally, start the development server with
npm start
. The scripts in the package.json should do the work. You'll see the local address you can use show up in the terminal.
Checkout The Planning Docs At The Wiki Section