| MVP Feature List | Database Scheme | API Routes | Frontend Routes
Loopr is an image sharing website inspred inspired by Flickr. User can upload their own images, create albums, and browse images from other users.
- Clone this repository
git clone hhttps://github.com/jstnswn/Loopr.git
- CD into the backend directory and install dependencies
npm install
- CD into the frontend directory and install dependencies
npm install
-
Create a .env file based on the .env.example given (An AWS S3 account is required to upload and delete images)
-
Create a user in psql based on your .env DB_USERNAME
psql -c "CREATE USER <username> PASSWORD '<password>' CREATEDB"
- Create the database, migrate, and seed
npx dotenv sequelize db:create
npx dotenv sequelize db:migrate
npx dotenv sequelize db:seed:all
- Open up two terminals and cd into the backend and frontend directories, respectively. Start the server in each by running:
npm start