GRILLRILLA is a real time Food Ordering website made with Node JS and Express Js. Mongodb is used as the database.
To run this app in your PC you have to follow these Steps.
Client: Socket.io, TailwindCSS, EJS Server: Node, Express
- Node Js refer here
- Mongodb refer here
- Stripe refer here
Clone the project
git clone https://github.com/User-Name/GRILLRILLA.git
Go to the project directory
cd GRILLRILLA
- To set suitable npm version
npm install -g [email protected]
- To Install Node Modules
npm install
-
Express
-
EJS Engine
-
Nodemon
-
Tailwind CSS
-
Mongo db
-
Mongoose
-
Axios
-
Noty
-
Passport
-
Bcrypt
-
Socket.io
-
Stripe
-
Larwel Mix
Before running app you need to do some more steps.
Go to file .env.example
file rename file to .env
COOKIES_SECRET =
MONGO_CONNECTION_URL =
STRIPE_PRIVATE_KEY =
You will find something like this after renaming file to .env
just write something here.
in COOKIES_SECRET
you can write anything like This is Cookie
In MONGO_CONNECTION_URL
fill the address of your database. For this if you are
locally on your PC just go to Mongo Compass and make a database let it be GRILLRILLA
make a collection menu and insert Menu content by uploading file.
You have a Menu.json
file just upload there.
After making database add mongodb://localhost/GRILLRILLA
make sure your database name is GRILLRILLA
.
In STRIPE_PRIVATE_KEY
you have to write Stripe key for this you have to sign in Stripe.com
link is given above in Pre-requists. This Private key is available on Stripe.com
Steps to get your Private Key is SignIn > Developers [You will se Dashboard, On Left Side in Navbar] > API Keys > Secret Key [Reveal Test Key] copy it and paste there.
That's it you have to go to local check in terminal on which port your app is
running. Mostly it is http://localhost:3000/