Skip to content

Nova Verba is an innovative app designed to improve English language skills by recommending new words to users every single day. The app utilizes a Node.js backend with Express, MongoDB for the database, and Vercel for hosting. It also integrates with Firebase, enabling users to log in using their Google accounts.

License

Notifications You must be signed in to change notification settings

whoisaditya/nova-verba-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nova Verba - Backend

License: MIT

This is the backend repository for Nova Verba, an innovative app designed to improve English language skills by recommending new words to users every single day. The app utilizes a Node.js backend with Express, MongoDB for the database, and Vercel for hosting. It also integrates with Firebase, enabling users to log in using their Google accounts.

The primary purpose of this repository is to handle all backend functionalities related to user management, word recommendation, and user word tracking. It leverages a free dictionary API, DictionaryAPI, to search for new words and stores their meanings in the MongoDB database.

Table of Contents

Demo

Nova Verba is currently deployed and can be accessed at: https://nova-verba.vercel.app/

Technologies Used

Installation

To run the Nova Verba backend locally, follow these steps:

  1. Clone the repository:

    git clone https://github.com/whoisaditya/nova-verba-backend.git
  2. Navigate to the project directory:

    cd nova-verba-backend
  3. Install the dependencies:

    npm install
  4. Set up environment variables:

    • Create a .env file in the root of the project.
    • Add the necessary environment variables, including MongoDB connection string, Firebase credentials, and any other relevant configuration.
  5. Run the server:

    npm start
  6. The backend server will be accessible at http://localhost:3000.

API Endpoints

User Routes

  • POST /user/login: User login route. Allows a user to log in using their Google account.

  • POST /user/streak/update: Updates the current streak of a logged-in user.

  • POST /user/word/add: Adds a new word for a logged-in user.

  • GET /user/details: Retrieves the details of a logged-in user.

  • GET /user/word/search: Searches for words related to a logged-in user.

For detailed information on request and response parameters for each endpoint, please refer to the code documentation.

License

Nova Verba is open-source software licensed under the MIT License.


Feel free to contribute to this project by creating issues or submitting pull requests. Happy learning and word discovering with Nova Verba! 🚀

About

Nova Verba is an innovative app designed to improve English language skills by recommending new words to users every single day. The app utilizes a Node.js backend with Express, MongoDB for the database, and Vercel for hosting. It also integrates with Firebase, enabling users to log in using their Google accounts.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published