Follow these steps to set up and run the project.
- Node.js installed
- NPM (Node Package Manager) installed
- Clone the repository:
git clone https://github.com/GridexX/linguagen.git
- Navigate to the project directory:
cd linguagen
- Install dependencies:
npm install
- Set up Google Cloud Translation API: Set-up a project and enable the translation API. Create an API Key for the project.
Create a .env
file in the root of the project and add the following:
RANDOM_WORD_API_URL=https://random-word-api.herokuapp.com/word?lang=en
PROJECT_ID=your-project-id
API_KEY=your-api-key
Replace your-project-id
and your-api-key
with your Google Cloud project ID and API key.
Start the project:
npm start
Visit localhost:3000 in your browser.
curl http://localhost:3000
This project is licensed under the MIT License - see the LICENSE file for details.
Made during Christmas 2023 🎄 by a BMX 🚲 rider.