A membership management system built with NestJS and PostgreSQL, allowing users to register, login, manage their profiles, and subscribe to various membership plans. The system is designed to be secure, scalable, and extendable for future features such as subscription payments and admin management.
- User Registration & Login: Users can register with email and password, and login to access their profile.
- JWT Authentication: Protected routes with JWT tokens for secure user access.
- User Profile Management: Users can view and update their profile information.
- Membership Plans: Admins can create and manage membership plans.
- Subscription Payments: Integration with Stripe/Paddle for recurring subscription management.
- Admin Dashboard: Admins can view user data and manage memberships.
- NestJS: Backend framework for building efficient, reliable applications.
- PostgreSQL: Database for secure and scalable data management.
- JWT: JSON Web Token for secure user authentication.
-
Clone the repository:
git clone https://github.com/ozardali/NestMembership.git cd NestMembership
-
Install dependencies:
npm install
-
Set up environment variables:
cp .env.example .env
- Don’t forget to open the .env file and update it with your own credentials.
-
Run the migrations (if applicable) or initialize the database:
# Adjust based on migration tool used npm run migration:run
-
Start the application:
npm run start:dev
- Subscription Payments: Integration Paddle for recurring subscription management.
- Frontend: