StudyLink is a platform designed to streamline the process for students to find and connect with study partners with ease. By fostering a collaborative and friendly learning environment (without the awkwardness), StudyLink makes it easier than ever for students to collaborate, discuss about school life, and excel academically together.
Our website can be found (when online) on: https://fa2024-hack-team-3-bwgb.onrender.com/
- Install Node and npm here
- Install
yarn
with the commandnpm install -g yarn
- Set up a MongoDB Atlas instance. See this video for help!
- Create a
.env
file with a variable calledDB_URL
and paste your MongoDB url:
DB_URL=mongodb://mongodburl.example.com:portnumber
1. npm run build
2. npm start
8. Happy hacking!
hi!!!!!!!!
git checkout branch-name (switch to branch) / git checkout -b branch-name (if branch non-existent)
git pull origin main (to get the latest files from main)
git add . (adds all the files/folders)
git status (to check your staged files/folders)
git commit -m "message"
git push
In one terminal, to run the backend:
cd backend
npm i
npm start
In another terminal, to run the frontend:
cd ../frontend
npm i
npm run dev
NOTE: Make sure you have the following in an .env file:
MONGO_URI=mongodb+srv://<db_username>:<db_password>@studybuddy.nor8x.mongodb.net/posts?retryWrites=true&w=majority&appName=Studybuddy
PORT=<port_number>
CLOUDINARY_CLOUD_NAME=<cloud_name>
CLOUDINARY_API_KEY=<api_key>
CLOUDINARY_API_SECRET=<api_secret>