Skip to content

AliBasboga/APIExampleWithExpress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

I made an API with express

I made an API with express and presented it to the screen in js format.

⚙️ Express.js REST API + JavaScript Frontend Modern Web Communication — Simplified & Powerful

📘 Project Overview This project is a lightweight RESTful API built with Express.js, connected to a clean JavaScript frontend that fetches and displays data dynamically.

It demonstrates how to structure a minimal full-stack application using Node.js on the backend and Vanilla JS on the frontend — perfect for learning, showcasing, or expanding into a bigger app.

🌍 Live Demo (Optional – add this if deployed) 🔗 Click here to try it live

🚀 Features ⚙️ Built with Node.js + Express

📡 RESTful API architecture

🔄 Asynchronous data fetching via fetch()

🖥️ Frontend built with Vanilla JavaScript

💡 Simple, scalable project structure

📱 Fully responsive frontend (mobile & tablet-friendly)

📦 Installation & Run Clone the project

bash Kopyala D��zenle git clone https://github.com/your-username/express-api-js-viewer.git cd express-api-js-viewer Install dependencies

bash Kopyala Düzenle npm install Start the server

bash Kopyala Düzenle node app.js Open the browser

arduino Kopyala Düzenle http://localhost:3000

🛠️ Tech Stack Backend: Express.js, Node.js

Frontend: HTML, CSS, Vanilla JavaScript

Data Format: JSON

Optional: CORS, dotenv, nodemon, LocalStorage

💬 API Endpoint Example bash Kopyala Düzenle GET /api/flags Returns a JSON array of country flag objects.

About

I made an API with express.js and presented it to users in js format.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published