Skip to content

ErfanShokrollahzadeh/csm_app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

128 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CSM App

Overview

The CSM App is a web application that provides a platform for users to manage their accounts, view posts, and interact with various features. The application is built using Django for the backend and Vue.js for the frontend. Docker is used for containerization to simplify the setup and deployment process.

Features

  • User registration and authentication
  • Post creation and management
  • Category management
  • Onboarding information
  • Country selection
  • Topic management
  • News source management
  • Profile management

Setup Instructions

Django Backend

  1. Clone the repository:

    git clone https://github.com/ErfanShokrollahzadeh/csm_app.git
    cd csm_app
  2. Create a virtual environment and activate it:

    python -m venv venv
    source venv/bin/activate  # On Windows use `venv\Scripts\activate`
  3. Install the required dependencies:

    pip install -r requirements.txt
  4. Apply the database migrations:

    python manage.py migrate
  5. Create a superuser account:

    python manage.py createsuperuser
  6. Start the development server:

    python manage.py runserver

Vue.js Frontend

  1. Navigate to the app/vueapp directory:

    cd app/vueapp
  2. Install the required dependencies:

    npm install
  3. Start the development server:

    npm run serve

Using Docker

  1. Build and start the Docker containers:

    docker-compose up --build
  2. Access the Django backend at http://localhost:8000 and the Vue.js frontend at http://localhost:8080.

Running Tests

Django Backend

  1. Ensure the virtual environment is activated.
  2. Run the tests:
    python manage.py test

Vue.js Frontend

  1. Navigate to the app/vueapp directory:

    cd app/vueapp
  2. Run the tests:

    npm run test

License

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

About

this is mobile app with vue js for fornt and django for back end. The subject of this project about CSM ( the news web app for Release news and some information else)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors