Skip to content

polyglot blog application that showcases MetaCall's ability to integrate different languages seamlessly.

Notifications You must be signed in to change notification settings

mohyware/polyglot-blog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Polyglot Blog Application

The backend of this polyglot blog application will be responsible for managing blog posts and user interactions. It will be implemented using Node.js and expose REST APIs for creating, editing, and retrieving blog posts.

Features

  1. 📝 Create, edit, and delete blog posts
  2. 🔍 Retrieve blog posts via REST APIs
  3. 🤖 AI-Powered Summarization (via Hugging Face API & Python)

Requirements

Ensure you have the following installed before running the application:

  1. Nodejs
  2. Metacall CLI

Environment Configuration

Before running the project, navigate to the server directory, rename .env.example to .env, and add your configurations like:

MONGO_URI=your_mongodb_connection_string
PORT=4000
HUGGING_FACE_KEY=your_huggingface_api_key

Installation

  1. Clone the repository:
git clone https://github.com/mohyware/polyglot-blog
  1. Install MetaCall CLI (More Info):
curl -sL https://raw.githubusercontent.com/metacall/install/master/install.sh | sh
  1. Backend (Server) Setup
cd server
metacall npm install
metacall pip3 install dotenv huggingface_hub
  1. Frontend (Client) Setup
cd client
npm install

Usage

  1. Start the Backend Server
cd server
npm run dev  # Start development mode
# OR
npm start    # Run production mode
  1. Start the Frontend Client
cd client
npm run dev  # Start development mode
# OR
npm run build  # Build the project before running start
npm start      # Run production mode
  1. Open your browser and navigate to http://localhost:3000

About

polyglot blog application that showcases MetaCall's ability to integrate different languages seamlessly.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published