Git Product home page Git Product logo

hitk-tech-community / community-website Goto Github PK

View Code? Open in Web Editor NEW
168.0 3.0 319.0 28.33 MB

Official Website of HITK Tech Community πŸ‘©πŸ»β€πŸ’»πŸ‘¨πŸ»β€πŸ’»

Home Page: https://hitk-tech-community.netlify.app/

License: MIT License

HTML 0.57% CSS 0.92% JavaScript 71.98% SCSS 26.52% Procfile 0.01%
hitk-tech-community resource-sharing knowledge-gap student technology reactjs nodejs mongodb joi-validation hacktoberfest

community-website's People

Contributors

aaryan8751 avatar abhipsaguru1012 avatar allcontributors[bot] avatar aman16-ai avatar amanprateek123 avatar arinmodi avatar ashuvssut avatar coder-srinivas avatar codewithvk avatar firequeen-3010 avatar garvitgupta13 avatar hemu21 avatar jackfrost13 avatar kajol-kumari avatar kanishkaa24 avatar kenkirito avatar leerenjie avatar mayank-del avatar nehaparmar99 avatar sakshikhachane avatar shivamgaur99 avatar shraddha-amber avatar shubhamsj07 avatar sreechand2002 avatar swastik1710 avatar swayamrana808 avatar tanishq-arya avatar vedikaag99 avatar vinrusty avatar yashsehgal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

community-website's Issues

[Backend] Link shortener service

We need a link shortener service which accepts a query parameter link and shortens it to a code of length 5. One using that link it should redirect to the original link if valid; else throw a proper error.
Use collection shortLinks for storage

API testing required for this.
For API testing briefing refer to #81

Create Code of Conduct. md

Hi,
I found that this project repository is not having a code of conduct file in this repository, kindly assign me this issue and I would like to contribute a well-formatted code of conduct file as you know code of conduct is a necessary file which the contributors need to follow so that everyone follows a decorum.

[ Discussion ] Decide color pallet for the website

As we are almost ready with the UI. We need to decide the color pallete that will be followed while implementing those designs.

This issue is focused on having the discussion on color pallet and it's finalisation.

Feel free to drop your pallete suggestions in the comments below.

[Bug] Login Screen not appearing properly

Issue Description:

  • Click on admin? button and see the login screen. It's not appearing properly.

Deliverables:

  • Fix the login screen.

  • Make sure to have a better UI and try to use this color pallet whereever required

[Backend] Finding bugs in backend setup

Task

Check out the backend-setup branch, go through the codebase. Play around the codebase. Try to find bugs in the codebase.

How to report a bug

Once you find a bug, create a new issue and tag the mentors @jackfrost13 @Kajol-Kumari with the following pieces of information.

  • Description
  • Steps to reproduce the bug
  • Cause of the bug
  • Possible solutions

This issue can be assigned to multiple people

Special points for finding bugs

backend(community user model and routes)

We must have a community user model and respected routes so that we can fix functionality we are going to provide for a particular user in our community.Isn't It?

[Frontend] Home page of the Community-Website

In this issue, we want to revamp the home page having better header, footer and home page content by following this color pallet.

Deliverables:

  • Better Header { Just keep home, Contact Us, Broadcasts, Resource Share, About Us, FAQ in the header section along with admin? on the right side of the header }

  • Better Footer { Use better logo for social media handles, add a line All right reserved by @Hitk-Tech-Communty or Made with :heart: by HITK Tech Community in the footer.}

  • Better Home page Content { This page should include a brief about who are are (put dummy text as of now) along with our motive(put dummy text as of now) in most attractive way possible }

[Frontend] Make the Admin's Home Page

Deliverables:

  • Make separate navbar for admin taking reference of this design

  • Make the admin home page, taking reference from this design.

  • Make /admin route that will direct to the admin's home page

  • Use this color pallet

  • Make a separate folder under component and put all the codes there

  • Improvements are welcomed :)

[Document] Add PR creation template

Deliverables:

  • A good enough PR template that contain all the required sections including which issue it closes closes #issue_num, Feature/changes introduced through the PR etc.

[Backend] Login/Signup api only for admin

  • API for allowing users to signup as admin and only after admin approves that person, he/she will be given admin previledges.

There won't be any signup/login for normal users

[Open for all] Add Header and Footer

  • Add header and footer as reusable component so that It can just be rendered wherever required.

Dependent of issue #3 [ First This issue needs to be resolved ]

Issue in Readme.md

For the Frontend part, you have mentioned this step in order to install the project on our machine. I have just added the second point because after navigating using cd Community-Website we cannot do directly npm install and also changed the file name.

  1. Navigate to the community-website folder using cd Community-Website.
  2. cd frontend
  3. Run npm install. It will install all the required packages and dependencies.
  4. Run npm start to run the server.
  5. Navigate to http://localhost:3000 to view it in the browser.

[Open For all] Admin Home page UI

There would be a separate page for admins only:

  1. Home page
  2. Settings Tab [ for approving users as admin ]
  3. Manage Broadcast page

Any other basic tabs that an admin is expected to have.

Modify Documentation

Capture

In the frontend section write path cd frontend , instance of cd community-website. Modify it!

[Document] Add bug and feature template for issues

Deliverables:

  • Template for bug report issue containing all the required the sections like {Current behaviour, expected behaviour, Related screenshot, Device used etc}

  • Template for feature request issue containing all the required the sections like {Feature description, Related link.screenshot for referrence etc}

[Documentation] Add initial backend setup guide

Description

Prepare documentation for the initial backend setup.
Check out the backend-setup branch, go through the entire codebase, and prepare well-descriptive documentation that will be used for the wiki page of the project.

It will be a unique experience as you get a chance for 1-1 interaction with the mentors. We would love to share our experiences and exchange knowledge with you.

This issue will call for several revisions and discussions. Please feel free to contact us via slack.

This issue can be assigned to multiple people

Regarding the server

I have forked the project , but If I make any changes I need to restart the server again and again.
I want to edit the project readme so that everyone doesn't face the same problem. Please assign me to work on this issue .
with tag DWOC

[Frontend] Improve FAQ page

Deliverables:

  • Better deisgn to FAQ page
  • Remove all the inline styles from faqs.js file and put it in a new file named faqs.css and just use the classNames in JS file

[Backend] API Testing for admin login

Description

API Testing for the admin route using Postman. There should be one collection for login containing multiple requests covering all the major tests for admin login route.

Examples:

  • Invalid request body test
  • Successful login
  • Invalid password

Requests must be accompanied with pre-request scripts, tests accordingly where ever required

One should be able to run the collection N number of times in the collection runner.

Admin Login Route

  • [POST] /auth/login
  • Request Body
    Parameter Description
    email string, required
    password string, required
  • Response contains JWT Token

Resouces

[Backend] Route for adding admins

Work to be done:

  • Add a route for creating admins.[POST]
  • Validation Schema for the request body
  • API Testing using Postman demonstrating all possible cases(valid, invalid) with test cases

Request Body Structure:

Parameter Description
email string,required, email regex
password string,required
firstName string,optional
lastName string,optional
contact string,optional,format(+91XXXXXXXXXX), phone regex
username string ,optional

NOTE: Please go through the backend code to get a feel of the code structure and follow that.

For API Testing briefing, refer to #81

[Backend] Route for changing password

Work to be done:

  • Add a route for changing password. [PUT] /admin/password
  • Validation Schema for the request body
  • API Testing using Postman demonstrating all possible cases(valid, invalid) with test cases

Request Body Structure:

Parameter Description
oldPassword string, required
newPassword string, required

NOTE: Please go through the backend code to get a feel of the code structure and follow that.

For API Testing briefing, refer to #81

[Frontend] Contact Us Page

Deliverables:

  • Make the contact us page of the community-website following this design and this color pallet.

If you can make this page preetier and consistent, it would be much appreciated :)

[Backend] Email Service

We need a helper function capable of sending emails. It should accept the necessary fields like recipient list, body, subject etc.
The configurations for email service should be in the config folder. We will also need an emailTemplates.json file which will contain the templates so that one can select a template and roll out the email without hardcoding the email matter.
For starter make one template named inviteAdmin which will be used to for inviting someone to be an admin.

One needs to incorporate dynamic variables for emailTemplates

Let me know if you have any queries.

[Frontend] Implement About Us Design

Deliverables:

  • Keep the header same as current one and make the rest of the page structure including footer as per the deisgn here
  • Make Sure to use this pallet

update:
Everyone, working on this issue, please try to implement the meet the crew section from this design

[Backend] Route for updating admin profile

Work to be done:

  • Add a route for updating admin profile.[PUT] /admin
  • Validation Schema for the request body
  • API Testing using Postman demonstrating all possible cases(valid, invalid) with test cases

Request Body Structure:

Parameter Description
firstName string,optional
lastName string,optional
contact string,optional,format(+91XXXXXXXXXX), phone regex
username string ,optional

NOTE: Please go through the backend code to get a feel of the code structure and follow that.

For API Testing briefing, refer to #81

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.