Empowering Minds, Exposing Truths: Navigating College Life Safely
CredLock is a thriving haven for college students, fostering a supportive community that nurtures personal growth and academic excellence. Our mission is deeply rooted in empowering students through shared experiences and valuable educational resources.
At CredLock, we believe in creating a vibrant community where students are active contributors to each other's learning journey. Here's what sets us apart:
- User Registration and Login: Begin your journey by creating a personal profile on CredLock.
- Blog Creation: Unlock your creativity with intuitive tools to craft and publish your blog posts.
- Content Editing: Customize your content with ease using text formatting options and image upload functionality.
- Comment Section: Foster discussion and interaction with dedicated comment sections for each blog post.
- Search Functionality: Navigate the wealth of content with ease using our search functionality.
- Following System: Build connections and curate your personalized feed by following other bloggers.
- Content Categorization: Organize your blogs under specific themes for enhanced organization and discovery.
- Analytics Tools: Track the performance of your blog with insights into views, comments, and user demographics.
- Social Media Integration: Share your blog posts effortlessly across popular platforms, amplifying your reach.
Join us at CredLock and embark on a shared adventure of knowledge, connection, and growth. Together, let's make learning a collaborative and enriching experience.
-
Create a MongoDB database and obtain your
MongoDB URI
- MongoDB Atlas -
Create a Cloudinary account and obtain your
API_KEY API_SECRET
and Create FOLDER_NAME by you won - Cloudinary -
Get
CLIENT_ID CLIENT_SECRET REFRESH_TOKEN
from Google Developer Console
create the .env
file inside server directory and add the variables that has been mentioned in .env.sample
Change the JWT_SECRET to whatever you want.
cd server
npm install
cd ..
cd client
npm install
# Run backend (:4000) & frontend (:3000)
cd server
npm run server
# Run frontend
npm run start
# Create frontend prod build
npm run build
We welcome contributions from the community to improve CredLock. To contribute, please follow these steps:
Start by forking this repository to your GitHub account.
Before making any changes, create a new branch from the main
branch. Use a meaningful name for your branch:
bash
git checkout -b feature/your-feature-name
Once you're in your new branch, you can start making the necessary changes or adding new features. Make sure to follow the coding conventions and best practices of the project.
#### How to work on your changes:
- Modify the codebase to implement the feature, fix, or update.
- Test your changes thoroughly.
- Ensure your code is clean and formatted according to the project's guidelines.
Once you've made and tested your changes, stage and commit them using a descriptive commit message.
Commands to commit your changes:
git add .
git commit -m "Descriptive message explaining the changes"
Make sure your commit message is clear and reflects the purpose of the changes you've made.
Push your branch to your forked repository:
git push origin feature/your-feature-name
Go to your forked repository on GitHub and submit a pull request to the original repository.
Provide a clear description of the changes you've made.
Link any relevant issues if applicable.
Request a review from the project maintainers.