SecureLog is a template login and signup service designed for web applications. This project offers foundational infrastructure for managing user authentication using MongoDB, with static HTML and dynamic EJS web pages for the front end.
- User Authentication: Signup and login functionality.
- Asynchronous Credential Storage: Credentials stored securely in a MongoDB database.
- Session Management: Token-based authentication system for maintaining user sessions.
- Node.js: Ensure you have Node.js installed. You can download it from Node.js official website.
- MongoDB: Install MongoDB or use a hosted solution like MongoDB Atlas.
-
Clone the repository:
git clone https://github.com/BnjmnZmmrmn/SecureLog.git cd SecureLog
-
Install dependencies:
npm install
-
Set up configs: Create a config for your MongoDB credentials:
mongodb: uri: // your api key db: // your db name
Create a config for you token secrets:
tokens: secret_key: // secret server key header_key: // header key
-
Run the server:
npm run start
-
Access the application: Open your browser and go to
http://localhost:3000
. -
Make your changes Customize the landing pages with your website name and image. Build your website from the auth/landing page, and amend stylesheet as fit.
TBD
This project is licensed under the MIT License. See the LICENSE file for details.