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

https://github.com/aelyakoubi/Full-Stack-Events-website

Full-Stack project Events website React.js Node.js Express.js Middleware Prisma Mysql
https://github.com/aelyakoubi/Full-Stack-Events-website

authentication-backend chakra-ui express-js javascript jwt middleware mysql-database node-js prisma-orm react-js static vite

Last synced: 10 months ago
JSON representation

Full-Stack project Events website React.js Node.js Express.js Middleware Prisma Mysql

Awesome Lists containing this project

README

          

# πŸ”§ Development & Production-Based Approach

## 🌐 Live Demo

[Visit the App](https://website-frontend-8wnm.onrender.com)

> ⚠️ **Note:** It may take **50 to 160 seconds** for the **events to be loaded** due to the cold start delay on a free Render account.

## πŸ” Test Credentials

To test the application, log in using:

- **Username:** `Wimpie Blok`
- **Password:** `Wimpie1234`

⚠️ **Important:** Do **NOT** click the β€œDelete” button on the user account page. If you do, you’ll need a new test account.

- You can find alternative credentials in this GitHub file:
`/website-backend/src/data/users.json`

- Or simply create a new account via the **signup page**.

---

## πŸ› οΈ Local Setup Instructions

### Step 1: Frontend (Terminal 1)

```bash
npm install
npm audit fix # Optional, if needed
npm run start # Starts on port 5173
```

### Step 2: Backend (Terminal 2)

```bash
npm install
npm audit fix # Optional, if needed
npm run start # Starts on port 3000
```

### Step 3: MySQL Database (Terminal 3)

```bash
npx prisma studio
```

---

## πŸ§ͺ Testing Notes

- The `.env` file is included for testing purposes.
- Integration and unit tests are **still being updated** due to recent project changes.

---

## πŸš€ Project Status: Onward & Upward

### πŸ”§ Current Phase (In Progress):

- Password hashing & salting
- Rate limiting & brute-force protection
- Input sanitization & validation
- HTTPS-only & CORS configuratie
- Security headers
- Docker deployment setup (done)
- Testing suite (Unit, API & Integration)
- Auth flow (Forgot Password, Secure Token Handling)
- Technical documentation (Setup Guide, API References)

---

## 🎯 Future Goals (When Time Permits)

**Next Project: Full-Stack E-Commerce Platform**

### 🧰 Core Stack:

- Redux Toolkit (State Management)
- Third-Party Authentication (Google, Apple, GitHub)
- Persistent Shopping Cart

### πŸ’‘ Advanced Features:

- Payments via Stripe & PayPal (sandbox to production)
- DevOps: AWS S3 + CI/CD Pipelines
- SEO/SEA-Optimized Marketing

---

## 🌍 Long-Term Vision:

- Mobile apps (React Native or Flutter)
- Scalable hosting (AWS, Vercel)

![Screenshot 2024-10-13 164227](https://github.com/user-attachments/assets/794893f9-1fd0-4bec-b5b6-62a87bd96619)
![Screenshot 2024-10-11 142737](https://github.com/user-attachments/assets/92e87063-25ec-4a90-8eac-289aefc715af)
![Screenshot 2024-10-10 203209](https://github.com/user-attachments/assets/5d0d346a-8674-4cbe-8a52-1a2a17cfdbf7)
![Screenshot 2024-10-10 203329](https://github.com/user-attachments/assets/39f47830-ea77-4ced-ad81-dfe2d8b4158a)
![Screenshot 2024-10-11 142435](https://github.com/user-attachments/assets/e024e403-b32f-4fa2-90d8-4fd7ea7696cb)
![Screenshot 2024-10-11 142143](https://github.com/user-attachments/assets/ae3e63dd-7df3-4706-a2cd-8611deb42015)
![Screenshot 2024-10-11 142038](https://github.com/user-attachments/assets/2b65b00a-fd78-4953-a0a3-b155d4c359ea)
![Screenshot 2024-10-10 203233](https://github.com/user-attachments/assets/663e1e9d-b7c9-4f68-aaff-6d596a7c4f27)
![Screenshot 2024-10-10 203244](https://github.com/user-attachments/assets/aa76a163-7ef4-4f0b-9dcc-e2e19b793220)
![Screenshot 2024-10-10 203306](https://github.com/user-attachments/assets/019edd08-94b6-4a44-8e7f-4c513710a675)
![Screenshot 2024-10-11 143335](https://github.com/user-attachments/assets/15e07885-28bd-471f-bf4f-8ba3d4940b97)
![Screenshot 2024-10-11 143404](https://github.com/user-attachments/assets/002ac242-83cd-4163-b53e-1772c8a89639)
![Screenshot 2024-10-11 143421](https://github.com/user-attachments/assets/1af49b0c-3064-4791-a0d6-60c481022ae0)