Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

README

        

# NodeJS-ExpressJS
Backend Trial

To 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.