Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
134 commits
Select commit Hold shift + click to select a range
90c3556
fix: r2 image upload for event fixed
shanuvr Jan 15, 2026
ed88ab5
fix: r2 image upload for event fixed
shanuvr Jan 15, 2026
813aa59
fix: fixing frontend ui
shanuvr Jan 19, 2026
a3cd29c
Merge pull request #37 from devxtra-community/shanu
shanuvr Jan 19, 2026
ad16659
chore: rabbitmq changed
NiranjanaNS Jan 19, 2026
ad2fd43
chore: rabbitmq changed
NiranjanaNS Jan 19, 2026
193d024
fix: fixed calendar button in front-end
shanuvr Jan 20, 2026
7e93088
fix: fixed calendar button in front-end
shanuvr Jan 20, 2026
883075a
chore: rabbitmq completed
NiranjanaNS Jan 20, 2026
237affe
Merge pull request #38 from devxtra-community/shanu
shanuvr Jan 20, 2026
86da837
chore: rabbitmq completed
NiranjanaNS Jan 20, 2026
f6d1eba
chore: rabbitmq completed
NiranjanaNS Jan 20, 2026
0a113a7
fix: fixed colors.ts
shanuvr Jan 20, 2026
71aec1d
fix: fixed colors.ts
shanuvr Jan 20, 2026
be637bf
Merge pull request #39 from devxtra-community/shanu
shanuvr Jan 20, 2026
629898e
chore: rabbitmq completed
NiranjanaNS Jan 20, 2026
b1398c6
chore: rabbitmq completed
NiranjanaNS Jan 20, 2026
13a66b3
Merge branch 'dev' of https://github.com/devxtra-community/mysocialco…
NiranjanaNS Jan 20, 2026
d537ad3
Merge branch 'dev' into niranjana
NiranjanaNS Jan 20, 2026
ca79f2c
feat: implimented rabbitmq
NiranjanaNS Jan 20, 2026
29fd55f
Merge pull request #40 from devxtra-community/niranjana
NiranjanaNS Jan 20, 2026
0441736
feat: added ticket feature
shanuvr Jan 23, 2026
9c21720
feat: added ticket feature
shanuvr Jan 23, 2026
23102ac
feat: added ticket feature
shanuvr Jan 23, 2026
a9bebaf
fix: fixed ticket qr code
shanuvr Jan 24, 2026
2ddf4c7
Merge pull request #50 from devxtra-community/shanu
shanuvr Jan 24, 2026
d5ef2b9
chore: get event of user
NiranjanaNS Jan 24, 2026
e355484
chore: get event of user
NiranjanaNS Jan 24, 2026
775b908
chore: get events of user
NiranjanaNS Jan 24, 2026
9bc7331
chore: update event api completed
NiranjanaNS Jan 24, 2026
ed54943
chore: update event api completed
NiranjanaNS Jan 24, 2026
d9ffc5c
fix: fixed r2 image not showing
shanuvr Jan 24, 2026
ffc6e59
fix: fixed r2 image not showing
shanuvr Jan 24, 2026
d06a0c2
fix: fixed r2 image issue
shanuvr Jan 24, 2026
d2ba08c
chore: update api
NiranjanaNS Jan 24, 2026
ea7e7b8
chore: commiting dev
shanuvr Jan 24, 2026
7965e00
chore: commiting dev
shanuvr Jan 24, 2026
09b84f3
Merge branch 'dev' into shanu
shanuvr Jan 24, 2026
7aadfb0
chore: merge conflict
NiranjanaNS Jan 24, 2026
6c04449
chore: update event
NiranjanaNS Jan 24, 2026
583036a
fix: r2 image issue fixed
shanuvr Jan 25, 2026
fbb0bf6
chore: event update correcting
NiranjanaNS Jan 26, 2026
0d26c83
chore: event update correcting
NiranjanaNS Jan 26, 2026
2779700
chore: event update correcting
NiranjanaNS Jan 27, 2026
cc13509
fix: event image updating fixed
NiranjanaNS Jan 27, 2026
d737baa
fix: event image updating fixed
NiranjanaNS Jan 28, 2026
3ad84c8
fix: event image updating fixed
NiranjanaNS Jan 28, 2026
ef4fc61
chore: cancel event api completed
NiranjanaNS Jan 28, 2026
0e0b5be
chore: cancel event api completed
NiranjanaNS Jan 28, 2026
3300316
chore: before doing paginatin
shanuvr Jan 28, 2026
5c7af19
fix: join event frontend fixed
NiranjanaNS Jan 28, 2026
32ca8fd
fix: join event frontend fixed
NiranjanaNS Jan 28, 2026
5b6c858
fix: camera is now showing
shanuvr Jan 30, 2026
6e5737f
fix: camera is now showing
shanuvr Jan 30, 2026
df1e018
fix: fixed all event list
NiranjanaNS Jan 30, 2026
f9c73b6
fix: fixed all event list
NiranjanaNS Jan 30, 2026
a6c3d39
fix: fixed logout button
shanuvr Jan 31, 2026
9b95b33
fix: fixed logout button
shanuvr Jan 31, 2026
b05041d
Merge pull request #53 from devxtra-community/shanu
shanuvr Jan 31, 2026
f052e72
fix: list all events
NiranjanaNS Jan 31, 2026
58703c6
fix: list all events
NiranjanaNS Jan 31, 2026
5879f09
fix: list all events
NiranjanaNS Jan 31, 2026
d1db142
feat: added carousel images for event detailed screen
shanuvr Jan 31, 2026
782306a
feat: added carousel images for event detailed screen
shanuvr Jan 31, 2026
ba8d09b
Merge pull request #54 from devxtra-community/shanu
shanuvr Jan 31, 2026
fdf8f69
fix: get all events logic fixed
NiranjanaNS Feb 1, 2026
1c093f5
fix: get all events logic fixed
NiranjanaNS Feb 1, 2026
9f76cc0
feat: implemented search with api basic stylinging in front end
shanuvr Feb 2, 2026
67b5360
fix: fixed qr scan api
shanuvr Feb 3, 2026
f989dd2
fix: fixed qr scan api
shanuvr Feb 3, 2026
49664e3
Merge pull request #55 from devxtra-community/shanu
shanuvr Feb 3, 2026
b07a446
fix: fix eventcontroller
NiranjanaNS Feb 3, 2026
dcc6a6a
fix: fix eventcontroller
NiranjanaNS Feb 3, 2026
fdb6e49
fix: redix fixed
shanuvr Feb 3, 2026
649b04b
fix: redix fixed
shanuvr Feb 3, 2026
5d511ae
Merge pull request #56 from devxtra-community/shanu
shanuvr Feb 3, 2026
c165dd6
fix: fix event controller
NiranjanaNS Feb 3, 2026
c936257
fix: fixed user profile
NiranjanaNS Feb 3, 2026
f103c9c
chore: user profile updated
NiranjanaNS Feb 4, 2026
6227de3
chore: user profile updated
NiranjanaNS Feb 4, 2026
98b7dd1
chore: before pulling dev 6-2-26
shanuvr Feb 6, 2026
698e1eb
chore: before pulling dev 6-2-26
shanuvr Feb 6, 2026
5de1f90
chore: user validation is completed
NiranjanaNS Feb 6, 2026
2956a5e
chore: user validation is completed
NiranjanaNS Feb 6, 2026
1c956fb
chore: user validation is completed
NiranjanaNS Feb 6, 2026
f44fdb0
Merge pull request #57 from devxtra-community/niranjana
shanuvr Feb 6, 2026
0af0fc0
chore: user validation is completed
NiranjanaNS Feb 6, 2026
e4eca4a
chore: user validation is completed
NiranjanaNS Feb 6, 2026
36b80d6
Merge pull request #58 from devxtra-community/niranjana
shanuvr Feb 6, 2026
80c837b
chore: before pulling dev
shanuvr Feb 6, 2026
6f9692f
chore: before pulling dev
shanuvr Feb 6, 2026
3e235c0
chore: user validation is completed
NiranjanaNS Feb 6, 2026
cf8dead
chore: user validation is completed
NiranjanaNS Feb 6, 2026
f35dd78
chore: user validation is completed
NiranjanaNS Feb 6, 2026
99d550b
chore: user validation is completed
NiranjanaNS Feb 6, 2026
6a02bad
chore: user validation is completed
NiranjanaNS Feb 6, 2026
3bd111c
chore: before pulling dev
shanuvr Feb 6, 2026
51f3091
Merge branch 'dev' into shanu
shanuvr Feb 6, 2026
34be288
Merge pull request #59 from devxtra-community/niranjana
shanuvr Feb 6, 2026
3e9732f
Merge branch 'dev' of https://github.com/devxtra-community/mysocialco…
shanuvr Feb 6, 2026
1be60d1
Merge branch 'dev' into shanu
shanuvr Feb 6, 2026
11cbb9f
fix: fixed user image
shanuvr Feb 6, 2026
8a8ab9b
fix: fixed user image
shanuvr Feb 6, 2026
8f0b163
Merge pull request #60 from devxtra-community/shanu
shanuvr Feb 6, 2026
632f105
chore: commit before pull
NiranjanaNS Feb 6, 2026
04fbd4a
chore: commit before pull
NiranjanaNS Feb 6, 2026
b89ceac
fix: fixed user images
shanuvr Feb 6, 2026
8841262
fix: fixed user images
shanuvr Feb 6, 2026
62dcab7
Merge pull request #61 from devxtra-community/shanu
shanuvr Feb 6, 2026
39f19ce
fix: in the middle of boost post
shanuvr Feb 10, 2026
31011fc
fix: in the middle of boost post
shanuvr Feb 10, 2026
e14c901
chore: forget password corrected
NiranjanaNS Feb 12, 2026
363ec18
chore: forget password corrected
NiranjanaNS Feb 12, 2026
68bf4c9
chore: reset password backend completed
NiranjanaNS Feb 14, 2026
d84778a
chore: reset password backend completed
NiranjanaNS Feb 14, 2026
9ebd1f8
feat: payment gateway integrated
shanuvr Feb 14, 2026
c0fb4d1
feat: payment gateway integrated
shanuvr Feb 14, 2026
d42f7d7
fix: fixed payment gateway
shanuvr Feb 16, 2026
5ba12e4
fix: fixed payment gateway
shanuvr Feb 16, 2026
1d065ab
Merge pull request #62 from devxtra-community/shanu
shanuvr Feb 16, 2026
df4e24a
chore: reset password frontend completed
NiranjanaNS Feb 16, 2026
b6afe75
chore: reset password frontend completed
NiranjanaNS Feb 16, 2026
643b518
chore: reset password frontend completed
NiranjanaNS Feb 16, 2026
f0b2cfc
fix: merge conflict
NiranjanaNS Feb 16, 2026
07dc374
fix: merge conflict
NiranjanaNS Feb 16, 2026
b9ea411
Merge pull request #63 from devxtra-community/niranjana
NiranjanaNS Feb 16, 2026
293cfc3
feat: started admin side
shanuvr Feb 19, 2026
75d47c5
feat: started admin side
shanuvr Feb 19, 2026
b32e612
feat: started admin side
shanuvr Feb 19, 2026
aea68ad
chore: change password and email verification completed
NiranjanaNS Feb 20, 2026
a32b7a2
chore: change password and email verification completed
NiranjanaNS Feb 20, 2026
f7914df
fix: merge conflict fixed
NiranjanaNS Feb 20, 2026
2dc5c2c
chore: user list of admin dashboard is completed
NiranjanaNS Feb 28, 2026
a84bc61
chore: user list of admin dashboard is completed
NiranjanaNS Feb 28, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions admin/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/versions

# testing
/coverage

# next.js
/.next/
/out/

# production
/build

# misc
.DS_Store
*.pem

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.pnpm-debug.log*

# env files (can opt-in for committing if needed)
.env*

# vercel
.vercel

# typescript
*.tsbuildinfo
next-env.d.ts
36 changes: 36 additions & 0 deletions admin/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
This is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-app`](https://nextjs.org/docs/app/api-reference/cli/create-next-app).

## Getting Started

First, run the development server:

```bash
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
```

Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.

You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.

This project uses [`next/font`](https://nextjs.org/docs/app/building-your-application/optimizing/fonts) to automatically optimize and load [Geist](https://vercel.com/font), a new font family for Vercel.

## Learn More

To learn more about Next.js, take a look at the following resources:

- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.

You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js) - your feedback and contributions are welcome!

## Deploy on Vercel

The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.

Check out our [Next.js deployment documentation](https://nextjs.org/docs/app/building-your-application/deploying) for more details.
120 changes: 120 additions & 0 deletions admin/app/(auth)/login/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
'use client';

import { useState } from 'react';
import { useRouter } from 'next/navigation';
import api from '@/app/lib/api';

export default function LoginPage() {
const router = useRouter();
const [email, setEmail] = useState('');
const [password, setPassword] = useState('');
const [showPass, setShowPass] = useState(false);
const [loading, setLoading] = useState(false);
const [error, setError] = useState('');

const handleLogin = async (e: React.FormEvent) => {
e.preventDefault();
setLoading(true);
setError('');
try {
const login = await api.post('/admin/auth/login', { email, password });
if (login.data.success) {
localStorage.setItem('admin_access_token', login.data.token);
router.push('/home');
}
} catch (err: unknown) {
const error = err as { response?: { data?: { message?: string } } };
setError(error?.response?.data?.message || 'Invalid email or password');
} finally {
setLoading(false);
}
};

return (
<div className="min-h-screen bg-gray-50 flex items-center justify-center p-4">
{/* Card */}
<div className="w-full max-w-md bg-white border border-gray-200 rounded-2xl shadow-sm p-8">
{/* Logo */}
<div className="flex items-center gap-3 mb-8">
<div className="w-10 h-10 rounded-xl bg-gradient-to-br from-cyan-500 to-violet-600 flex items-center justify-center text-lg shadow-md">
.
</div>
<span className="font-display font-extrabold text-[20px] tracking-tight text-gray-900">
My<span className="text-cyan-500">Social Code</span>
</span>
</div>

{/* Heading */}
<h1 className="font-display font-extrabold text-[24px] tracking-tight text-gray-900">
Welcome back
</h1>
<p className="text-[13px] text-gray-400 mt-1 mb-7">
Sign in to your admin account
</p>

{/* Error */}
{error && (
<div className="mb-5 px-4 py-3 bg-red-50 border border-red-200 rounded-xl text-[12px] text-red-600 font-medium">
⚠️ {error}
</div>
)}

{/* Form */}
<form onSubmit={handleLogin} className="flex flex-col gap-4">
{/* Email */}
<div className="flex flex-col gap-1.5">
<label className="text-[12px] font-medium text-gray-700">
Email address
</label>
<input
type="email"
required
placeholder="admin@eventos.com"
value={email}
onChange={(e) => setEmail(e.target.value)}
className="bg-gray-50 border border-gray-200 rounded-xl px-4 py-3 text-[13px] text-gray-800 placeholder-gray-400 outline-none focus:border-cyan-400 focus:bg-white transition-colors"
/>
</div>

{/* Password */}
<div className="flex flex-col gap-1.5">
<label className="text-[12px] font-medium text-gray-700">
Password
</label>
<div className="relative">
<input
type={showPass ? 'text' : 'password'}
required
placeholder="Enter your password"
value={password}
onChange={(e) => setPassword(e.target.value)}
className="w-full bg-gray-50 border border-gray-200 rounded-xl px-4 py-3 text-[13px] text-gray-800 placeholder-gray-400 outline-none focus:border-cyan-400 focus:bg-white transition-colors pr-12"
/>
<button
type="button"
onClick={() => setShowPass(!showPass)}
className="absolute right-3 top-1/2 -translate-y-1/2 text-gray-400 hover:text-gray-600 transition-colors text-[14px] cursor-pointer"
>
{showPass ? 'hide' : 'show'}
</button>
</div>
</div>

{/* Submit */}
<button
type="submit"
disabled={loading}
className="mt-2 w-full bg-gradient-to-r from-cyan-500 to-violet-600 text-white font-display font-bold text-[14px] py-3 rounded-xl hover:opacity-90 transition-opacity disabled:opacity-50 disabled:cursor-not-allowed shadow-md cursor-pointer"
>
{loading ? 'Signing in...' : 'Sign in →'}
</button>
</form>

{/* Footer */}
<p className="text-center text-[11px] text-gray-400 mt-6">
My Social Code Admin Panel · All rights reserved
</p>
</div>
</div>
);
}
Loading