Giter Club home page Giter Club logo

zenzam's Introduction

ZenZam

Next.js (Frontend and main backend)

Hosted version: https://zen-zam.vercel.app/

Prerequisites

  • Node.js and NPM installed: you can get them here, the LTS version should be good.

  • The repository cloned or downloaded to the runner computer

Setting up

  • Open a terminal in the repository's folder

  • Install all dependencies via npm install

  • Make a copy of the .env.example file with the name .env

  • If you already have a MongoDB server running just add it's URI to the MONGODB_URI key, and skip to the Running section

  • There are many ways to run a MongoDB server, here are some options:

  • Your connection string should look something like this: mongodb+srv://<user>:<password>@<mongodb-cluster>.mongodb.net/?retryWrites=true&w=majority, this is what you need to put after MONGODB_URI= in the .env file

Running

  • In your terminal start the development server with the following command: npm run dev

  • Open your browser, and visit the following URL: http://localhost:3000, or the URL that it sends in the log

Python (grouping backend)

Prerequisites

Setting up

  • Open a seperate terminal in the grouping folder

  • Install the required modules by running pip install -r requirements.txt

Running

  • Type python app.py in your terminal

Usage

If you navigate to http://localhost:3000 (or your own URL from the log) you will be redirected to the onboarding page. There you can create a user by entering your interests, and you'll be taken to the user dashboard. Here you can change your interests, and request a new group.

The grouping algorithm can be triggered manually by navigating to http://localhost:3000/api/group/execute, however keep in mind, that at least 3 users have to be looking for a group for the grouping functionality to be enabled.

Once you are assigned a group, you can see your shared interests in the form of badges (like #Cybersecurity), and chat with other group members.

Your groups are the circles at the top of your screen, with the leftmost one bringing you back to the dashboard.

zenzam's People

Contributors

arihanv avatar dependabot[bot] avatar jamdon2 avatar

Watchers

 avatar

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.