Code Monkey home page Code Monkey logo

intellectia's Introduction

intellectia

Your Guardian Against Misleading AI-Generated Content.

At Intellectia, we're on a mission to eliminate misinformation and AI-generated deception. Our vigilant system detects and removes misleading articles, thanks to the dedicated efforts of our user community. With human reviews ensuring accuracy, we're your trusted platform for truthful, transparent, and reliable content. Join us in the fight against misinformation!

๐Ÿ”— Useful Links:

Setup

Project Setup Instructions

  1. Clone the Repository:

    git clone [email protected]:prasenjeet-symon/intellectia.git
    
  2. Navigate to the Project Directory:

    cd intellectia/packages/server
    
  3. Install Dependencies:

    npm install
    
  4. Database Configuration:

    • Ensure you have XAMPP installed and running.
    • Create a MySQL database for your project in XAMPP. Note down the database name, username, and password.
    • Copy the .env.example file to a new file named .env in the packages/server directory.
    • Open the .env file and replace the placeholders with your MySQL database connection details
  5. Generate Prisma Client:

    npx prisma generate
    
  6. Run Database Migrations:

    npx prisma migrate dev
    

    This command will create database tables based on your Prisma schema and apply any pending migrations.

  7. Start the Development Server:

    npm start
    

    This command uses ts-node-dev to run the TypeScript files in your src directory. It will automatically restart the server whenever you make changes to your code.

  8. Build the Project (Optional):

    npm run build
    

    If you want to create a production-ready build of your project, use this command. The output will be in the dist directory.

  9. Testing:

    • Run your tests with the following command:
      npm test
      
      Modify the test script in your package.json file to specify your testing framework (e.g., Jest, Mocha).

By following these setup instructions, you'll have your Express project located at 'packages/server' connected to a MySQL database using XAMPP, with database migration capabilities using Prisma, and environment variables properly configured. Make sure to adapt the configuration and environment variables to your specific project requirements.

intellectia's People

Contributors

prasenjeet-symon avatar userunknownn avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.