Skip to content

atrastudhi/resume-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Resume

This is a sample project that uses Hapi.js, Node.js, PostgreSQL, and Knex.js.

Prerequisites

Before running the application, you need to have the following installed:

  • Node.js (version v14.18.2 or higher)
  • PostgreSQL

Installation

To install the application, follow these steps:

  1. Clone the repository to your local machine.
  2. Install dependencies by running npm install in the project directory.
  3. Prepare environment variable like following:
  • PORT = server port (optional | default to 3000)
  • HOST = server host (optional | default to localhost)
  • PG_HOST = database host (optional | default to localhost)
  • PG_USER = database username
  • PG_PASSWORD = database password
  1. Create a PostgreSQL database with the name resume_db and configure the username and password accordingly.
  2. Run the database migrations by running npm run migrate:latest.
  3. Run the database seeds by running npm run seed:up.
  4. Start the application by running npm start.
  5. The server will start at http://localhost:3000.

Usage

Once the server is running, you can access the API at http://localhost:3000/overall.

Development

To run the application in development mode, run npm run start. This will start the server with nodemon, which will automatically restart the server when changes are made.

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

Service for Resume Client

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published