Skip to content

GVAmaresh/smys

Repository files navigation

SMYS

Sri Madhwa Yuvaka Sangha (SMYS) is an organization located in South Bengaluru, Karnataka. It provides hostel facilities for all Brahmins pursuing a degree. The organization conducts various festivals and ensures security through the installation of CCTV cameras. Additionally, there is a management team to oversee operations. The hostel offers three meals a day, along with clean rooms and common washroom facilities.

TechStack

My Skills

This project is divided into two parts:

  1. Frontend: Handles all the contents, photos and information related to the organisation
  2. Backend: Handles the photos add-update, information, authentication and even connected to g-Drive api for photos storage

Each part is managed in a separate repository for better organization and maintenance

Please start with the Backend Repository first, followed by the Frontend Repository.

Table of Contents

  1. Demo
  2. Technology Used
  3. Description
  4. Getting Started
    1. Prerequisites
    2. Using CMD (Command Line)
  5. Meet the Team
  6. License

Demo

Watch Video Here

IMAGE ALT TEXT HERE

Technology Used

Programming & Scripting Languages:

  • Python: It was supporting the G_Drive api better than node.js so it was suitable to use
  • Nextjs: For interactive frontend design and backend logic
  • TypeScript: Ensures type safety and robustness in the React components

Frameworks & Libraries:

  • MUI: Used external resource for responsive frontend
  • Tailwindcss: For the better css handling
  • React: Frontend framework for building user interfaces.
  • FastAPI: Lightweight Python framework for serving the backend.
  • Firebase: It is used to store all the information of photos and contents of the organisation and for the authentication

Description

This SMYS website is build using the Next.js + TypeScript + FastAPI + Firebase + GDrive

  • Informative It provides all the information related to the organisation starts from the brief hostory to the current management

  • Authentication There is a hidden authentication is given where only valid user can user to edit the contents and information related to the organisation without editing the source code which is again build by firebase-authentication

  • Gallery In the gallery section, it provides all the activities done by the organisation till the date

  • Other photo collections There are other section like historical events and jnanabharathi which can explain how the culture of this organisation

Getting Started

Prerequisites

Before getting started, make sure you have the following installed and set up:

1. Node.js and npm (for Frontend)

  • Node.js: The JavaScript runtime used to run the frontend server and manage dependencies.
  • npm: The Node Package Manager used for installing frontend dependencies.

To install Node.js and npm, follow the instructions on the official Node.js website.

After installation, verify by running the following commands in your terminal:

node -v
npm -v

Running the Project

1. Using CMD (Command Line)

First, clone the frontend and backend repositories using the following commands:

git clone https://github.com/GVAmaresh/smys

Navigate into the project directory and install the necessary dependencies.

cd smys
npm i

Now set the Environmetal files for the firebase and save it as .env or .env.local

NEXT_PUBLIC_FIREBASE_API_KEY=
NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=
NEXT_PUBLIC_FIREBASE_DATABASE_URL=
NEXT_PUBLIC_FIREBASE_PROJECT_ID=
NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET=
NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID=
NEXT_PUBLIC_FIREBASE_APP_ID=
NEXT_PUBLIC_FIREBASE_MEASUREMENT_ID=

Just refer any youtube video to get this variables

Now the project is ready to run:

npm run dev

Now you should be able to access the frontend on http://localhost:3000

Meet the Team

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors