Skip to content

Cosmic-Hunt is a clone of Product Hunt, where the latest interstellar products and technologies can be found, and a place for productive discussions about them.

Notifications You must be signed in to change notification settings

suwanshree/cosmic-hunt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cosmic-Hunt

Cosmic-Hunt is a clone of Product Hunt. Access to Cosmic-Hunt's MVP can be found here.

Cosmic Hunt is a clone of Product Hunt where sci-fi interstellar products and technologies can be found. Products range from all the fan favorite sci-fi movies and shows. It is also a place for productive discussions about all the listed products on the website.

Index


| MVP Feature List | Database Schema | API Documentation | Frontend Routes |

Technologies Used


Technologies

Getting started


  1. Clone this repo.

    •    `https://github.com/suwanshree/cosmic-hunt.git`
      
  2. Install dependencies from the root directory.

    •    `npm install`
      
  3. Create a POSTGRESQL user with CREATEDB and PASSWORD in PSQL.

    •    CREATE USER <name> WITH CREATEDB PASSWORD <'password'>
      
  4. Create a .env file in the backend directory based on the .env.example found within the respective directory.

  5. Enter your username and password information into your .env fiel along with your desired database name, a secured combination of characters for your JWT_SECRET, and your desired PORT (preferably 5000).

  6. Add the following proxy to your package.json file within your frontend directory, replacting or keeping the 5000 port to match your PORT configuration found in your .env file.

    •   "proxy": "http://localhost:5000"
      
  7. Create Database, Migrate, and Seed models.

    •   npx dotenv sequelize db:create
      
    •   npx dotenv sequelize db:migrate
      
    •   npx dotenv sequelize db:seed:all
      
  8. Start the services in the backend directory.

    •   npm start
      
  9. Start the services in the frontend directory, which should open the project in your default browser. If not, navigate to Frontend Server.

    •   npm start
      
  10. You can use the Demo user or create an account to begin using Cosmic-Hunt.

Features


Logged in users can perform the following actions.

- Add/View/Edit/Delete Products

- Add/View/Edit/Delete Reviews

About

Cosmic-Hunt is a clone of Product Hunt, where the latest interstellar products and technologies can be found, and a place for productive discussions about them.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages