From 75572a8a84e8c548b2bd2367b532cb56fea71da3 Mon Sep 17 00:00:00 2001 From: Dev Keshwani Date: Mon, 17 Feb 2025 22:46:19 +0530 Subject: [PATCH] feat: ready for deployment --- nst-fe/README.md | 86 ++++++++++++++++++-------- nst-fe/next.config.mjs | 5 +- nst-fe/src/app/(home)/account/page.tsx | 3 +- 3 files changed, 63 insertions(+), 31 deletions(-) diff --git a/nst-fe/README.md b/nst-fe/README.md index c403366..bbad8d3 100644 --- a/nst-fe/README.md +++ b/nst-fe/README.md @@ -1,36 +1,68 @@ -This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app). +

+ + GDSC VIT + +

+ + Artium logo + +

-## Getting Started +--- +[![Join Us](https://img.shields.io/badge/Join%20Us-Developer%20Student%20Clubs-red)](https://dsc.community.dev/vellore-institute-of-technology/) +[![Discord Chat](https://img.shields.io/discord/760928671698649098.svg)](https://discord.gg/498KVdSKWR) -First, run the development server: +[![DOCS](https://img.shields.io/badge/Documentation-see%20docs-green?style=flat-square&logo=appveyor)](INSERT_LINK_FOR_DOCS_HERE) + [![UI ](https://img.shields.io/badge/User%20Interface-Link%20to%20UI-orange?style=flat-square&logo=appveyor)](INSERT_UI_LINK_HERE) -```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. +## Features +- [X] Landing Page/Carousel +- [X] Authentication +- [X] Creating Custom Art +- [X] Theme Of The Day +- [X] Public Gallery +- [X] Profile with personal image gallery +- [X] About us page -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/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font. -## Learn More +## Contributors -To learn more about Next.js, take a look at the following resources: + + + + + +
+ Divyanshu Singh +

+ +

+

+ + GitHub + + + LinkedIn + +

+
+ Dev Keshwani +

+ +

+

+ + GitHub + + + LinkedIn + +

+
-- [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/deployment) for more details. +

+ Made with ❤ by GDSC-VIT +

diff --git a/nst-fe/next.config.mjs b/nst-fe/next.config.mjs index d1b1616..5906fef 100644 --- a/nst-fe/next.config.mjs +++ b/nst-fe/next.config.mjs @@ -8,9 +8,8 @@ const nextConfig = { images: { remotePatterns: [ { - protocol: 'http', - hostname: 'localhost', - port: '8000', + protocol: 'https', + hostname: 'artium.rupaaksrinivas.tech', pathname: '/**', }, ], diff --git a/nst-fe/src/app/(home)/account/page.tsx b/nst-fe/src/app/(home)/account/page.tsx index 803070b..32e6f5a 100644 --- a/nst-fe/src/app/(home)/account/page.tsx +++ b/nst-fe/src/app/(home)/account/page.tsx @@ -7,8 +7,9 @@ import Link from "next/link"; import { useEffect, useState } from "react"; import { Art } from "@/models/art"; import { getAllUserArts } from "@/services/service"; +import { config } from "@/config/config"; -const baseUrl = process.env.BASE_URL || 'http://localhost:8000'; +const baseUrl = config.baseUrl || 'http://localhost:8000'; const BoxSvg = () => (