A dynamic links website for SMK Negeri 2 Depok Sleman (STEMBAYO), featuring customizable social media and website links. Admins can log in to manage links and icons, with images uploaded via ImageKit and data stored in MongoDB.
- Public page with categorized links and social media.
- Admin login and registration.
- Config page for managing, sorting, adding, editing, and deleting links/socials.
- Custom icon/image upload via ImageKit.
- Data stored in MongoDB.
- Responsive UI with drag-and-drop sorting.
- Next.js (React)
- MongoDB (via Mongoose)
- ImageKit (image upload)
- Tailwind CSS
- JWT authentication
-
Clone the repo:
git clone https://github.com/KARYASIJA/links-stembayo.git cd links-stembayo -
Install dependencies:
npm install
-
Configure environment variables:
- Copy
.env.exampleto.envand fill in your MongoDB and ImageKit credentials.
- Copy
-
Run the development server:
npm run dev
-
Access the site at
http://localhost:3000.
- Visit
/for the public links page. - Admins: Register/login at
/loginor/register. - After login, access
/configto manage links and social media.
MIT