{"id":27243714,"url":"https://github.com/abreuclariana/register-authentication","last_synced_at":"2025-04-10T20:58:18.387Z","repository":{"id":279137377,"uuid":"937764665","full_name":"abreuclariana/register-authentication","owner":"abreuclariana","description":"Register Authentication","archived":false,"fork":false,"pushed_at":"2025-04-09T19:16:51.000Z","size":41,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-09T20:25:21.234Z","etag":null,"topics":["bootstrap","bycrypt","dotenv","ejs","expressjs","javascript","mongodb","nodejs","nodemon"],"latest_commit_sha":null,"homepage":"https://register-authentication-2.onrender.com/","language":"EJS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/abreuclariana.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-23T20:49:41.000Z","updated_at":"2025-04-09T19:20:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"ce1e8fb9-4f1d-41ee-ae12-fc5a38969bfe","html_url":"https://github.com/abreuclariana/register-authentication","commit_stats":null,"previous_names":["abreuclariana/register-authentication"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abreuclariana%2Fregister-authentication","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abreuclariana%2Fregister-authentication/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abreuclariana%2Fregister-authentication/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abreuclariana%2Fregister-authentication/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abreuclariana","download_url":"https://codeload.github.com/abreuclariana/register-authentication/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248298435,"owners_count":21080318,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bootstrap","bycrypt","dotenv","ejs","expressjs","javascript","mongodb","nodejs","nodemon"],"created_at":"2025-04-10T20:58:17.852Z","updated_at":"2025-04-10T20:58:18.375Z","avatar_url":"https://github.com/abreuclariana.png","language":"EJS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🔒 Authentication System with Express, MongoDB, and Bcrypt\n\nThis is a user authentication project built with **Node.js**, **Express**, **MongoDB**, and **Bcrypt** for secure password hashing. The system allows users to register and log in securely.\n\n## 🚀 Technologies Used\n\n- **Node.js** - JavaScript runtime environment for backend development\n- **Express** - Web framework for creating the server\n- **MongoDB** - NoSQL database to store user data\n- **Mongoose** - ODM library for MongoDB data modeling\n- **Bcrypt** - Library for secure password hashing\n- **EJS** - Template engine for rendering dynamic pages\n- **Dotenv** - Environment variable management\n\n## 📂 Project Structure\n\n📦 backend ┣ 📂 views (EJS templates for rendering) ┣ 📂 public (Static files: CSS, JS, images) ┣ 📜 app.js (Main server code) ┣ 📜 .env (Environment variables) ┣ 📜 package.json (Project dependencies)\n\n\n## 🔧 Setup and Installation\n\n### 1️⃣ Clone the repository:\n\n   \n    git clone https://github.com/abreuclariana/register-authentication\n    cd register-authentication\n\n\n\n2️⃣ Install dependencies:\n\n    \n    npm install\n\n\n3️⃣ Configure the .env file:\nCreate a .env file in the root directory and add your configurations:\n\n    S3_BUCKET=YOURS3BUCKET\n    SECRET_KEY=YOURSECRETKEYGOESHERE\n\n5️⃣ Run the server:\n\n    node app.js\n\nThe server will be running at http://127.0.0.1:4000 🚀\n\n🛠 Features\n\n✅ User registration with secure password hashing\n\n✅ User login with password verification\n\n✅ Dynamic rendering with EJS\n\n✅ MongoDB database to store credentials\n\n\n## 📌 Project Routes\n\n| Method | Route       | Description             |\n|--------|------------|-------------------------|\n| `GET`  | `/`        | Home page               |\n| `GET`  | `/login`   | Login page              |\n| `GET`  | `/register` | Registration page      |\n| `POST` | `/register` | User registration      |\n| `POST` | `/login`   | User authentication     |\n\n\nDeveloped with by Clariana Abreu\n\n       \n    This **README.md** is well-structured, easy to understand, and provides clear instructions for running the project. 🚀\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabreuclariana%2Fregister-authentication","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabreuclariana%2Fregister-authentication","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabreuclariana%2Fregister-authentication/lists"}