A simple activity planning system for friend groups with Facebook authentication.
- Activity Overview: View upcoming activities (1 per 2 months)
- Responsibility Tracking: See who's responsible for each activity
- Sign Up/Leave: Join or leave activities easily
- Activity Scheduling: Create new activities
- Facebook Login: Secure authentication via Facebook
-
Install Dependencies
npm install
-
Facebook App Setup
- Go to Facebook Developers
- Create a new app
- Get your App ID
- Replace
YOUR_FACEBOOK_APP_IDinpublic/app.jswith your actual App ID
-
Run the Application
npm start
The app will be available at
http://localhost:3000
- Data is stored in
data.jsonfile - Simple JSON structure with activities and users
- Automatically created when first user registers
- Login: Click "Login with Facebook" to authenticate
- View Activities: See all upcoming activities on the main page
- Join Activity: Click "Join Activity" to participate
- Leave Activity: Click "Leave Activity" to withdraw
- Create Activity: Fill out the form at the bottom to schedule new activities
GET /api/activities- Get all activitiesPOST /api/activities- Create new activityPOST /api/activities/:id/signup- Join an activityPOST /api/activities/:id/leave- Leave an activityGET /api/users- Get all usersPOST /api/users- Register/login user
LogePlanner/
├── server.js # Express backend
├── data.json # Data storage
├── package.json # Dependencies
├── public/
│ ├── index.html # Main HTML page
│ ├── style.css # Styling
│ └── app.js # Frontend JavaScript
└── README.md # This file