Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/taneruzum/nodejs-expressjs
Backend Trial
https://github.com/taneruzum/nodejs-expressjs
bcrypt express jsonwebtoken mongodb mongoose nodejs
Last synced: about 1 month ago
JSON representation
Backend Trial
- Host: GitHub
- URL: https://github.com/taneruzum/nodejs-expressjs
- Owner: taneruzum
- Created: 2023-11-05T22:43:01.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-05T23:23:49.000Z (about 1 year ago)
- Last Synced: 2024-11-08T16:06:36.292Z (about 1 month ago)
- Topics: bcrypt, express, jsonwebtoken, mongodb, mongoose, nodejs
- Language: JavaScript
- Homepage:
- Size: 28.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# NodeJS-ExpressJS
Backend TrialTo get started, follow these steps:
1. Install the necessary Node.js modules by running `npm install`.
2. Create a `.env` file with the following content, replacing placeholders with your actual values:
``
PORT=5001
CONNECTION_STRING=mongodb+srv://your-username:[email protected]/your-database
ACCESS_TOKEN_SECRET=your-secret
``
3. Keep your `.env` file secure, as it contains sensitive information.
4. Start your project with `npm run dev` and access it on the specified port.*To test your queries, you can use ThunderClient.*
Remember to keep your sensitive information, especially the `.env` file, private and do not expose it in your public repository.
TIP: You can add .env to your .gitignore file.