Your career journey, mapped and mastered. With our intuitive tracking, turn every application into a stepping stone towards success.
http://job-journey.us-east-2.elasticbeanstalk.com/
https://github.com/JayTalekar/job-journey
To run this project, you need to have Docker installed on your machine. If you don't have Docker installed, follow the official Docker installation guide to install it.
-
Clone the repository to your local machine:
git clone https://github.com/JayTalekar/job-journey.git
OR
Fork the repository to your Github account and clone it to your local machine
-
Change into the project directory:
cd Job-Journey
-
Create an AWS Elastic Beanstalk environment for your application.
- Log in to the AWS Management Console.
- Create a new AWS Elastic Beanstalk (EBS) application.
- Configure an environment within the application with the following specifications:
- Set the environment tier to "web server environment."
- Define a domain for hosting the application.
- Choose Docker as the platform.
- Opt for the Sample App as the initial application code.
- Select the preset as Single tier (free tier).
- Utilize existing or create new Service roles, EC2 key pair, and EC2 instance profile to grant service access.
- Retain default settings for networking and database configurations.
- Adjust the instance type to t2.micro (free tier), while leaving other settings in instance traffic and scaling as default.
- Set health monitoring to basic, deselect managed updates and keep other settings default.
- Review the configured changes and settings before proceeding to create the environment.
-
Set up an AWS CodePipeline to automatically deploy your application to Elastic Beanstalk whenever changes are pushed to the main branch of your GitHub repository.
- Log in to the AWS Management Console.
- Create a new AWS CodePipeline.
- Configure the CodePipeline with the following settings:
- Provide a name for the pipeline and optionally rename the Role name.
- In the "Add source stage," follow these instructions:
- Set the source provider as GitHub.
- Connect GitHub to AWS by clicking on the appropriate option.
- Select the repository name where your application is hosted.
- Choose "Pipeline trigger" as "Push in Branch."
- Specify the branch name that should trigger an action in the pipeline upon a push.
- Skip the build stage.
- In the "Add deploy stage," select the deploy provider as AWS Elastic Beanstalk, and then choose the application and environment created earlier.
- Review the configured changes and proceed to create the pipeline.
-
Make sure you have Node.js and npm installed on your machine.
-
Install the project dependencies:
npm install
-
Start the development server:
npm run dev
-
Make sure you are in the project directory.
-
Install the project dependencies:
npm install
-
Build the Docker container:
docker-compose build
-
Start the Docker container:
docker-compose up
Now you can access the Job Journey application in your browser at http://localhost:3000.
- Run the seed file:
npm run seed
- The seed job will create a dummy account and print the results in the console. Use this credentials to login and view the generated data.