Skip to content

fac30/API-Project-bahja-and-adriana

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API-Project-bahja-and-adriana

A project building a dynamic web application that queries at least two APIs and presents useful and/or interesting information to the user. We will be using Node.js and Express, which will involve serving a static web page, creating JSON endpoints, and generating dynamic content through both server-side and client-side code.

Installation & Dependencies

Start the server

npm start

Open your web browser and navigate to http://localhost:3000 to access the application.

This project requires the following packages to be installed. To get started, run the following command in your project's root directory:

cors: Middleware for enabling Cross-Origin Resource Sharing (CORS). dotenv: Loads environment variables from a .env file. express: Fast, unopinionated, minimalist web framework for Node.js. express-session: Simple session middleware for Express.js. openai: Node.js client library for the OpenAI API. spotify-web-api-node: Official Node.js wrapper for the Spotify Web API.

npm install cors@^2.8.5 dotenv@^16.4.5 express@^4.18.3 express-session@^1.18.0 openai@^4.29.2 spotify-web-api-node@^5.0.2

Log on to Spotify

Screenshot 2024-03-25 at 18 55 17

Releases

No releases published

Packages

No packages published