5l1v3r1 / candyhouse

Clone of honeypot.io (The developer-focused job platform) using Reactjs, Typescript, Golang and MongoDb

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CandyHouse (Reactjs, Typescript, Golang, MongoDb)

This Project is a clone of Honeypot (only candidate profile section). Honeypot is developer-focused job platform.

This project is developed using Reactjs, Typescript, Golang and MongoDb for learning purpose only.

Project Goals

Technologies are used

Run Golang Server

  • Step 1: Create a free MongoDb database at https://www.mongodb.com/cloud/atlas
  • Step 2: create a .env file at root directory of server (golang-server) with below variables. (Please change database configurations)
SERVER_PORT=':3200'
DB_CONNECTION_STRING='mongodb+srv://xxxxxxxx.mongodb.net/candyHouse?retryWrites=true&w=majority'
DB_NAME='candyHouse'
IN_MEMORY_MONGO_DB_PATH='F:\inMemoryMongoDb4.2.8\bin\mongod.exe'
TOKEN_KEY='Your_Auth_Token_Encryption_KEY'
  • Step 3: go get
  • Step 4: go run main.go

Run Reactjs Client

  • Step 1: create a .env file at root directory of client (reactjs-client) with below variables.
REACT_APP_API_BASE=http://127.0.0.1:3200
  • Step 2: npm install
  • Step 3: npm start

Golang Server Directory Structure

.
|-- controllers
|-- middlewares
|-- models
|   |-- entity
|   `-- viewmodels
|-- profilepic
|-- repository
|   `-- db
|-- routers
|-- service
|-- test
`-- utils

Reactjs Client Directory Structure

.
|-- public
`-- src
    |-- common
    |-- features
    |   |-- home
    |   |   `-- components
    |   |-- login
    |   |-- profile
    |   |   |-- defaultValues
    |   |   |-- edit
    |   |   |   `-- components
    |   |   `-- view
    |   |       `-- components
    |   `-- register
    |       `-- components
    |           `-- TalentRegister
    |-- helpers
    `-- layouts

Enjoy!! 😊

About

Clone of honeypot.io (The developer-focused job platform) using Reactjs, Typescript, Golang and MongoDb

License:GNU General Public License v3.0


Languages

Language:TypeScript 77.2%Language:Go 20.2%Language:SCSS 1.5%Language:HTML 1.1%