Being from tier-2 and tier-3 colleges, you often face the problem of knowledge gap in our college days. But once you begin walking in the path of tech, you discover a place where people are just like you. 😇✨
We are a group of HITK students trying to fill the knowledge gap and help you find your place of discovery by sharing you the opportunities and resources at the right time!⏱️
This project aims to build the official site for the community page so that any student can use the resources shared by us.
## Tech Stack 🗃
## How to contribute ? 🤔
- Get started with the Contributon Guidelines mentioned [here](https://github.com/HITK-TECH-Community/Community-Website/blob/main/CONTRIBUTING.md)
- Make sure to follow our conventions mentioned [here](https://github.com/HITK-TECH-Community/Community-Website/blob/main/frontend/conventions.md)
## Getting Started 👨💻
**NOTE - You must be on NODE Version 14.19.0**
### Setup the repository to your local environment.
1. `Fork` the repository - Creates a replica of repository to your local environment.
2. Clone the repository - Downloads all repo files to your machine, using
```git
git clone https://github.com/YOUR-USERNAME/Community-Website
```
3. Set working directory to the root directory of the project.
```sh
cd Community-Website
```
## NVM
**Setting Up Node version 14.19.0 and npm version 6.14.16**
1. Install Node Version Manager (nvm):
* Download the latest version of nvm for your operating system from the official nvm repository:[https://github.com/coreybutler/nvm-windows/releases](https://github.com/coreybutler/nvm-windows/releases).
* Follow the installation instructions provided on the website
2. Verify nvm Installation:
* Open a terminal window.
* Type the following command and press Enter:
```sh
nvm -v
```
* This command should display the currently installed version of nvm.
3. Install Node.js version 14.19.0:
* In your terminal window, type the following command and press Enter:
```sh
nvm install 14.19.0
```
4. Install npm version 6.14.16
```sh
npm install npm@6.14.16 -g
```
5. Switch to Node.js version 14.19.0:
* Use the following command to activate Node.js version 14.19.0:
```sh
nvm use 14
```
5. Verify Node.js and npm Version:
* Check the installed Node.js version by running:
```sh
node -v
```
* The output should be `v14.19.0`.
* Verify the installed npm version by running:
```sh
npm -v
```
* The output should be `6.14.16`
## Frontend ⚛️
Following are the steps to run the frontend of the community-website on your local. All the frontend code will go in the `frontend` directory.
1. Navigate to `frontend` folder.
```sh
cd frontend
```
2. Install all the required packages and dependencies.
```node
npm install
```
3. Run the server.
```node
npm start
```
4. [Click here](http://localhost:3000) to view it in the browser OR navigate to
```text
http://localhost:3000
```
The website is live at [https://hitk-tech-community.netlify.app/](https://hitk-tech-community.netlify.app/)
## Backend 💻
Following are the steps to run the backend of the community-website on your local. All the backend code will go in the `backend` folder.
1. Navigate to `backend` folder.
```sh
cd backend
```
2. Install all the required packages and dependencies.
```node
npm install
```
3. Run the server.
```node
npm start
```
4. [Click here](http://localhost:3500) to see the backend server runing in the browser OR navigate to
```text
http://localhost:3500
```
The backend is live at [https://community-website-backend.onrender.com/](https://community-website-backend.onrender.com/)
## Testing Credentials 🤖
The testing admin credentials to login to the admin dashboard are given below -
```
{
"email" : "hitktechcommunity@gmail.com",
"password" : "password"
}
OR
{
"email" : "kajolkumarisingh222@gmail.com",
"password" : "password"
}
```
## Related Repositories 📂
- [HITK-TECH-Community/HITK_Tech_Community](https://github.com/HITK-TECH-Community/HITK_Tech_Community) : The repository containing all the broadcasts done by HITK-TECH-Community
## Community 👥
[![Slack](https://img.shields.io/badge/chat-on_slack-purple.svg?style=for-the-badge&logo=slack)](https://join.slack.com/t/hitkteckcommunity/shared_invite/zt-njgae7ki-Xn1y4Nmc_bwqwU~tN52vrg)
## Programs We have been associated with 🤍
## Contributors 🌟
Thanks goes to these wonderful people ✨✨: