GithubHelp home page GithubHelp logo

atb00ker / ideation-portal Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 1.0 5.71 MB

Ideation portal for companies to create a repository of ideas.

Home Page: https://atb00ker.github.io/ideation-portal/

License: MIT License

Shell 1.00% Dockerfile 0.52% JavaScript 2.14% Go 11.63% SCSS 2.71% TypeScript 80.57% HTML 0.28% PLpgSQL 1.15%
ideation golang react hasura

ideation-portal's Introduction

Ideation Portal

GitHub Workflow Status License Stack

Ideation portal for companies to create a repository of ideas.

Pre-requisites

  • nodejs
  • npm | yarn
  • docker
  • docker-compose

Features

The applcation contains contains a lot of basic useful features:

  1. Authentication: auth is written in a plug-and-play (dependency injection) manner and you can simply switch to the authentication system you desire. For reference, please checkout auth0 authentication implementation and implement all these functions in your prefered auth provider and plug your custom file in AuthProvider file.

  2. Search / Filter: You of the box, you get the search and filter functionality on the home page, besides that, you can see the Add Idea button and the list of ideas below the filters which contain some meta data of the ideas and Read More button to checkout the details of the idea. Search functionality

  3. Comments & Likes: You can like and comment on the ideas as well to find out ideas that most people like and want to contribute towards. Comment and like functionality

  4. We also have a reports functionality, you can very easily add your own graphs but out of the box, you get ideas created per month, ideas by department, category & status. Reports functionality

Deployment

  • Rename .env.example to .env and update configurations as per requirement.
    • You can get the value for HASURA_GRAPHQL_JWT_SECRET hasura.io/jwt-config tool.
    • AUTH0_DOMAIN and AUTH0_CLIENT_ID can be found in your auth0 account.
    • Ensure you are keeping a secure HASURA_GRAPHQL_ADMIN_SECRET.
  • Start application using docker-compose up -d.

Note: If you are deploying to Hasura Cloud, remember to change the value of from_env in databases.yaml from HASURA_GRAPHQL_METADATA_DATABASE_URL to HEROKU_DATABASE_URL (or whatever your environment variable name is on the cloud) because HASURA_GRAPHQL_METADATA_DATABASE_URL wouldn't work.

Development

  • Install dependencies: npm install --include=dev
  • Rename .env.example to .env and update configurations as per requirement. (Read deploy section for information about some variables)
  • Start graphql-engine & database: docker-compose up -d
  • Apply metadata to hasura: npm run metadata-apply
  • Apply migrations to hasura: npm run migrate
  • Reload metadata: npm run metadata-reload
  • Start hasura console: npm run hasura
  • Start react application (On a different terminal): npm run react-start

Note: Remember to checkout more commands in package.json.

ideation-portal's People

Contributors

atb00ker avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

deveshrattan

ideation-portal's Issues

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.