Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/relix18/techydeals-server
https://github.com/relix18/techydeals-server
bcrypt cloudinary expressjs jsonwebtoken mongodb mongoose nodejs nodemailer
Last synced: 28 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/relix18/techydeals-server
- Owner: Relix18
- Created: 2024-06-29T13:06:34.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-07-02T14:01:21.000Z (6 months ago)
- Last Synced: 2024-10-06T12:42:06.509Z (3 months ago)
- Topics: bcrypt, cloudinary, expressjs, jsonwebtoken, mongodb, mongoose, nodejs, nodemailer
- Language: JavaScript
- Homepage: https://techydeals.vercel.app
- Size: 51 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MERN E-COMMERCE BACKEND
Hi! My name is **Arif Ahmad**, I have created this project to learn some new features.
# Prerequisite
Must have basic knowledge of **Node**, **React**, **Express**, **MongoDB** .
# Install Dependencies
**For Dev** - `npm i && npm run dev`
## Env Variables
Make Sure to Create a .env file in root directory and add appropriate variables in order to use the app.
**Essential Variables**
CLIENT_URL = `frontend url`
PORT =
NODE_ENV = **development** or **production**
MONGO_URI = `mongo url`
JWT_SECRET = `random string more the better`
JWT_EXPIRE = `reset password token expire time default` **5d**
COOKIE_EXPIRE = `cookie expire time`
SMTP_HOST = "smtp.gmail.com"
SMTP_PORT = 465
SMTP_SERVICE = `gmail`
SMTP_MAIL = `gmail account to send mail to user`
SMTP_PASSWORD = `google account app password`
CLOUDINARY_NAME= `signup to cloudinary and get the cloudinary name on your profile`
CLOUDINARY_API_KEY= `signup to cloudinary and get the api key on your profile`
CLOUDINARY_API_SECRET= `signup to cloudinary and get the api secret on your profile`
## Author
**Instagram** Click [Here](https://www.instagram.com/ig_relix/) **@relix**
**Discord** Click [Here](https://discord.com/users/440030380888817684) **@relix**