- Install node following instructions here
- Install git cli here
- Log into CockroachDB (I used GitHub to log in)
- Create a free database and add the CA certificate as per their instructions
- Once you get to the connect stage, copy the "General Connection String" and save it
- Choose a directory in command prompt or Powershell
- Run the following commands
git clone https://github.com/srikrishnakaashyap/E-Commerce-Website cd E-Commerce-Website git branch working npm install
- Create a
.env
file in the root directory of E-Commerce-Website that looks like this:COCKROACH_DB=<Connection String from Step 5> SESSION_SECRET=e7050b24044fdcc300d40f52706accad35b052ca # this is a random string, you can regenerate it if you want
- Run
node ./index.js
from the root of the project - Visit http://localhost:8001/signup from your browser
-
Notifications
You must be signed in to change notification settings - Fork 1
srikrishnakaashyap/One-Stop-Shop
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published