An API built with Node.js and Express that converts json file from an endpoint to a csv file
First, clone this repo to your machine:
git clone https://github.com/samrasugu/unes_node_auth.git
Navigate to the root directory and run npm install
or yarn add
to install project dependencies.
Create a file .env
within the root directory of the project folder.
Then add the following values appropriately:
ENPOINT_URL=
USERNAME=
PASSWORD=
Then run either of the following commands on the terminal within the root directory of the app.
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
Open http://localhost:3000 with your browser to see the result.
Explore the available routes within the /routes
folder.
The test folder can be found at /test
Run the command npm test
within the root directory of the project folder.