Google Doc For 5 Complex Queries: LINK:
git clone https://github.com/mkeloo/itis-nature-nexus-backend.git
npm install
NOTE: if u wanna use Nodemon then here's the LINK
Before starting the server, make sure to set up the necessary environment variables. Create a .env file in the root of your project directory and include all the necessary keys:
ORACLE_DB_USER=username
ORACLE_DB_PASSWORD=password
ORACLE_DB_CONNECTION_STRING=connection_string
Run the application using Node.js. This command will start the server:
node app.js
You should see a message indicating that the server is running, typically on http://localhost:3000.
Open a web browser or use a tool like Postman to test the API endpoints. Here are the links you can use to access the different queries, assuming the server is running on localhost port 3000:
- Query 1 (Bird Observations and Climate Variations Correlation):
http://localhost:3000/api/query1
- Query 2 (Enhanced Diversity Index with Climate Data Integration):
http://localhost:3000/api/query2
- Query 3 (Year-over-Year Growth Rate in Species Observations):
http://localhost:3000/api/query3
- Query 4 (Bird Population Dynamics Trends):
http://localhost:3000/api/query4
- Query 5 (Regional Taxonomic Diversity and Conservation Priorities):
http://localhost:3000/api/query5