Make sure you have the following installed on your machine:
-
Clone the repository
git clone https://github.com/PriyanshuAnsh/SynapseOS-frontend.git cd SynapseOS-frontend -
Install dependencies
npm install # or yarn install # or pnpm install
-
Run the development server
npm run dev # or yarn dev # or pnpm dev # or bun dev
-
Open your browser
Navigate to http://localhost:3000 to see the application.
src/
├── app/
│ ├── login/
│ │ └── page.tsx # Login page
│ ├── signup/
│ │ └── page.tsx # Signup page
│ ├── globals.css # Global styles
│ ├── layout.tsx # Root layout
│ └── page.tsx # Homepage
├── components/
│ └── ui/ # shadcn/ui components
└── lib/
└── utils.ts # Utility functions
npm run dev- Start development servernpm run build- Build for productionnpm run start- Start production servernpm run lint- Run ESLint
Simple navigation page with buttons to access login and signup pages.
- Email and password input fields
- Remember me checkbox
- Forgot password link
- Social login buttons (Google, Twitter)
- Responsive design with gradient background
- Full name, email, and password fields
- Password confirmation
- Terms of service agreement
- Newsletter subscription option
- Social signup buttons
The project uses Tailwind CSS with custom gradient backgrounds. You can modify the colors in:
src/app/globals.css- Global styles- Component files - Individual gradient and color classes
All UI components are built with shadcn/ui and can be customized in the src/components/ui/ directory.
To learn more about the technologies used:
- Next.js Documentation - learn about Next.js features and API
- shadcn/ui - beautiful UI components
- Tailwind CSS - utility-first CSS framework
- Lucide React - beautiful icons
The easiest way to deploy this Next.js app is to use Vercel:
- Fork or clone this repository
- Connect to Vercel:
- Go to vercel.com
- Sign up/in with your GitHub account
- Click "New Project"
- Import your repository
- Deploy:
- Vercel will automatically detect it's a Next.js project
- Click "Deploy" - no configuration needed!
- Your app will be live in minutes
- Build the project:
npm run build
- Deploy the
outfolder to Netlify
This project can be deployed on any platform that supports Next.js:
- Railway
- Render
- AWS Amplify
- DigitalOcean App Platform
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request