An Express.js API that gets the longitude and latitude for the user's IP address as well as any other entered IP address.
- Express.js
- EJS
- CSS3
- JavaScript
- GeoIP-lite
- Normalize.css
- Google Fonts
- Font Awesome
- nodemon
View project demo at https://autumnchris-ip-location-api.onrender.com/api.
After forking and cloning, navigate to the repository in your command line and install the NPM packages:
npm install
Run the following script in your command line if starting the repository in development mode:
npm run dev
Run the following script in your command line if starting the repository in production mode:
npm start
Once the server is running, go to http://localhost:3000
in your browser.