Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arbiminanda/simple-express-project
https://github.com/arbiminanda/simple-express-project
express
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/arbiminanda/simple-express-project
- Owner: arbiminanda
- Created: 2023-04-01T08:31:12.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-04-01T08:31:33.000Z (almost 2 years ago)
- Last Synced: 2024-11-05T21:35:25.342Z (3 months ago)
- Topics: express
- Language: JavaScript
- Homepage:
- Size: 646 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Simple Express Project
This is express project to demonstrate simple https request functionality
# Project Structure
```
server.js main express project file, contains all method that apps can handle
index.html simple html file to show about details
calculator.html simple calculator apps that send post request when user click submit
```# Paths
```
GET - / home
GET - /contact show contact text as response
GET - /about show index.html as response
GET - /calculator show calculator.html as response
POST - /calculator parse and handle post request from calculator.html
```# Run Script
- Open terminal/cmd, go to the project directory and install all dependencies
```
npm install
```- Run this command to run the server:
```
nodemon server.js
```