Skip to content

SyndicateGit/Tacos_And_Flowers

Repository files navigation

🌮Tacos and Flowers🌻

Welcome to my inventory app! This project is created to showcase dynamic site operations for creating, updating, reading, and deleting objects in a database. I built this project for valentines day for my girlfriend who love tacos 🌮 and for me who loves flowers 🌻.

Link: [(https://tacos-and-flowers.fly.dev/)]

tacos-and-flowers

Features

-All CRUD operations for uploading categories and items

-Ability to upload images

-Checkout page ;)

-Tacos and Flowers!

Technologies Used

-Backend: Node.js, Express.js

-View Engine: Ejs

-Database: MongoDB

-Image Hosting: Cloudinary

Hosting Platforms

-fly.io: (considering for deploying and hosting the application) -MongoDB Atlas: for cloud-based MongoDB hosting -Cloudinary: for image upload and image url hosting.

Installation Guide

Type in terminal the following:

-npm install

-npm install dotenv --save

-npm install mongoose

-npm install express-async-handler

-npm install express-validator

-npm install cloudinary

-npm install mutler

-npm run start

What I've learned through this project

-EJS (I used pugs before)

-Hiding API keys in .env file

-MongoDB

-Mongoose Schemas / models

-Express routers and controller MCV architecture

-Cloudinary

-From enctype="multipart/form-data" for file uploads

-Mutler is needed as middleware to parse forms that have file uploads

-Remember to put /:id app.use() after /create

-Host a website on fly.io