A boilerplate API project for Node.js, Express, and a few more batteries.
- Node.js (v14 or higher)
- npm (v6 or higher)
- Clone the repository:
git clone https://github.com/FullstackCodingGuy/node-api-vanilla.git
- Navigate to the project directory:
cd node-api-vanilla - Install the dependencies:
npm install
Start the server:
npm start
The server will be running at http://localhost:8000.
API Endpoints
GET / - Returns "Hello, World!"
GET /health - Returns "I'm Good!"-
Clone the repository:
git clone https://github.com/FullstackCodingGuy/node-api-vanilla.git cd node-api-vanilla -
Build the Docker image:
docker-compose build -
Run the application:
docker-compose up -
Access the application:
Open your web browser and navigate to
http://localhost:8000(or the port specified in yourdocker-compose.yml).
License This project is licensed under the MIT License - see the LICENSE file for details.