Skip to content

Latest commit

 

History

19 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Secure Registration App - Web Application Security Project

Live in Production

A Full-Stack Web Application featuring a secure user registration system, built with security best practices following OWASP guidelines.

🌐 Frontend: Live Demo
🚀 Backend: Railway

🛠️ Tech Stack

Layer Technology
Frontend HTML5, CSS3, JavaScript
Backend Ruby on Rails 8.1.3
Database PostgreSQL
Testing RSpec, Jest
Security BCrypt, Rack::Attack, Rack::Cors, Dotenv
Deployment GitHub Pages, Railway

🖥️ Registration Form

Registration Form


🔒 Security Measures

1. XSS Protection — OWASP A03

XSS Protection

2. Mass Assignment Prevention — OWASP A03

Mass Assignment

3. Gems Used to Implement Security

Security Gems

4. Password Hashing — OWASP A02

Password Hashing

5. Secrets Management — OWASP A02

Secrets Management

6. Brute-Force Protection — OWASP A07

Brute Force

7. Log Filtering — OWASP A02

Log Filtering


🧪 Tests

Backend — RSpec (TDD Methodology)

RSpec Tests

Frontend — Jest Framework (TDD Methodology)

Jest Tests


⚙️ How to Clone & Run the Project

Requirements

  • Ruby 3.4.7
  • Rails 8.1.3
  • PostgreSQL
  • Node.js

Clone the repository

git clone https://github.com/IvonneBenitesRodriguez/web-application-security-project.git
cd web-application-security-project

Backend Setup

cd backend
bundle install
cp .env.example .env
# Add your database credentials in .env
rails db:create db:migrate
rails server

Run Backend Tests

bundle exec rspec

Frontend

Open docs/index.html in your browser or visit the GitHub Pages URL.

Run Frontend Tests

cd docs
npm test

🚀 Deployment

Layer Platform URL
Frontend GitHub Pages Live Frontend
Backend Railway Live Backend

🗄️ Database

PostgreSQL is used as the production database, hosted on Railway.

Database


✅ Live in Production

Live Production



👩 Author

Ivonne Benites Rodriguez


⭐ Support

If you find this project useful, please consider giving it a star on GitHub — it helps a lot! 🙏

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages