https://github.com/xlaez/easy-link
easy-link application is a mini linkedIn-like application built to bring recruiters closer to potential employees
https://github.com/xlaez/easy-link
gin-gonic golang mongodb nodejs postgresql rabbitmq
Last synced: 3 months ago
JSON representation
easy-link application is a mini linkedIn-like application built to bring recruiters closer to potential employees
- Host: GitHub
- URL: https://github.com/xlaez/easy-link
- Owner: Xlaez
- License: apache-2.0
- Created: 2022-09-16T04:43:06.000Z (almost 4 years ago)
- Default Branch: dev
- Last Pushed: 2022-11-04T22:28:24.000Z (over 3 years ago)
- Last Synced: 2025-05-06T09:40:29.453Z (about 1 year ago)
- Topics: gin-gonic, golang, mongodb, nodejs, postgresql, rabbitmq
- Language: TypeScript
- Homepage:
- Size: 760 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# KAMOU NATION
- Messenger
- User Feed
- Organizations
- Notifications
## Noteable features
- User can have a google account as it also makes use of google oauth
- Messages can only between connections
- Recruiters can chat up intended employees
- Users can set if they are recruiting or up for work
## Divison
- Database
* Organizations work with mongoDB
* User services works with postgreSQL
- Languages and stack
* Messenger works with node.js, typescript
* User Feed works with go lang, gin. Uses pasteo for authentication tokens
* Organizations work with node.js
## Requirements
- docker
- rabbitMQ running on docker(docker image: rabbitmq:3-management-alpine)
- reddis on localMachine but you can tweak it so it runs on docker(if so then add it to the docker compose.yml file in user service)
- postgreSQL on docker(tweak the MakeFile in user service to satisfy your postgreSQL configurations)
- go migrate
- go (download version 1.19 for this project)
- node.js running locally
- mongodb running locally
- Note:
* as i continue updating i'll make sure all external services(mongodb, redis etc) runs on docker.
* make sure to use the command
``` bash
go mod tidy
```
to install all dependencies for go
and
``` bash
yarn install | yarn
```
to install all dependencies for node.js
* rename a.env to .env in node.js services and rename a.env in go services to app.env then provide your configurations as requested
* don't make any mistake to edit the files in migrations folder or db folder except you know how to work with go and sqlc ORM.
* when running organization service update your postman request port from 8181 to 8189.
## Run
- in the user service run the command make serve to start the user service
- in the notification service run
``` bash
go run main.go
```
to start the server
- in all node.js services run
``` bash
yarn serve
```
to start the server
- import all postman json files found in root directory of all services to your postman in order to make API calls easily.
- after signing up user an email would be sent to the email provided for registration.
- copy the pasteo token there and paste in the validateUser api request params or check the terminal you'll see the pasteo token printed out.