-
-
Notifications
You must be signed in to change notification settings - Fork 0
Getting Started
To get started with the Ecko Backend, follow these steps:
- Node.js 20 (using NVM)
-
config.json
file
-
Install NVM (Node Version Manager) by following the instructions for your operating system:
- Windows: Visit the NVM for Windows repository at https://github.com/coreybutler/nvm-windows and follow the installation guide.
-
Linux/macOS: Open your terminal and run the following command:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash
-
Close and reopen your terminal to start using NVM.
-
Install Node.js 20 by running the following command:
nvm install 20
-
Verify that Node.js 20 is installed:
node --version
- Clone the repository:
git clone https://github.com/VladWhiteK/ecko-backend.git
- Navigate to the project directory:
cd ecko-backend
- Install NPM packages:
npm install
- Rename the config.example.json file to config.json and update the necessary configurations according to your environment.
- Start the server as dev:
npm run dev
Note: Running the server in with debug mode is recommended for the development branch. You can enable it from the config.json
...
"debug": true,
...
-
Complete the first-time setup by providing the following data:
Server Name: <Enter the name of your server> Server Location: <Enter the location of your server> Secret Length: <Enter the desired secret length for verifying the apiKey result (at least 64 characters and less than 256 characters)> Secret Phrase: <Enter a secret phrase for verifying the apiKey result (at least 16 characters)>
-
Access the backend API at http://localhost:8080.
Please note that the instructions assume you have NVM already installed. If you don't have NVM, you can follow the provided instructions to install it before proceeding with the Node.js 20 installation.
Additionally, make sure to have the config.json
file in your project directory and rename the provided config.example.json
file to config.json
for proper configuration.
Found a bug or have a suggestion? Open an issue on GitHub.
For general inquiries, contact us at vladwhiteinbox@outlook.com.
This project is released under the CC-BY-NC-ND-4.0.
© 2023 Vlad White | Ecko Backend Server