Skip to content

yk909/frontend

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

This is the commune ai project.

This project has three roles: user, owner, and friend like social network

1. Frontend Running

Next.js Project

This is a Next.js project created to demonstrate how to run a Next.js application.

Getting Started

To get started with this project, follow the steps below:

  1. Clone the repository:
git clone https://github.com/commune-ai/frontend.git
  1. Install the dependencies:
cd next-js-project
npm install
  1. Run the development server:
npm run dev

Open http://localhost:3000 in your browser to see the application running.

Available Scripts

In the project directory, you can run the following scripts:

npm run dev

Runs the app in development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm run build

Builds the app for production to the .next folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

npm start

Starts the app in production mode.
Open http://localhost:3000 to view it in the browser.

Learn More

To learn more about Next.js, check out the Next.js documentation.

2. Backend

  • go to backend folder and follow the steps

    Django Project

    This is a Django project created to demonstrate how to run a Django application.

    Getting Started

    To get started with this project, follow the steps below:

    1. Clone the repository:
    git clone https://github.com/your-username/django-project.git
    
    1. Install the dependencies:
    cd django-project
    pip install -r requirements.txt
    
    1. Run the development server:
    python manage.py runserver
    

    Open http://localhost:8000 in your browser to see the application running.

    Available Commands

    In the project directory, you can run the following commands:

    python manage.py runserver

    Runs the development server.
    Open http://localhost:8000 to view it in the browser.

    The server will automatically reload if you make changes to the code.

    python manage.py migrate

    Applies any database migrations needed for the project.

    python manage.py createsuperuser

    Creates a superuser for the admin interface.

    Learn More

    To learn more about Django, check out the Django documentation.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 65.3%
  • TypeScript 25.7%
  • MDX 3.8%
  • HTML 1.9%
  • CSS 1.5%
  • Shell 0.8%
  • Other 1.0%