Code Monkey home page Code Monkey logo

postmanager's Introduction

PostManager Project

Alt text

This project is a client/server application for searching post base on filters (tags) and sorting properties

To run the all project (FrontEnd and Backend), you must have the server and the client running. You can proceed with next section in order to launch both.

Server

The server is a .NET 6 Web API that serve an endpoint (https://localhost:7401/api/posts) to fetch posts based on query params (tags, sortBy, direction).

Launch Server

To run this web API, please check the following requirements

  1. .NET 6 SDK
  2. dotnet CLI (^7.0.302)
  3. Visual Studio IDE (^2019)
  • Run With dotnet CLI

    You can run the server with the following steps:

    1. Navigate to web API root: cd server/PostManager
    2. Build and launch server : dotnet run PostManager.Api

    You can then navigate to https://localhost:7074/swagger/index.html and perform some tests through swagger.

    You can also directly navigate to https://localhost:7074/api/posts?tags=tech&sortBy=likes&direction=desc

  • Run With Visual Studio

    To run the project with Visual Studio you just have to make sure the project PostManager.Api is set as default starter project. Once done, you can launch the server by clicking on Visual Studio play button.

    You can then navigate to https://localhost:7074/swagger/index.html and perform some tests through swagger.

    You can also directly navigate to https://localhost:7074/api/posts?tags=tech&sortBy=likes&direction=desc

Client

The client is an Angular which acts as frontend to fetch and display posts data. It's build with Angular 14.2.0

Installation

In order to run the client,

Once all requirements are meet, proceed with following steps :

  • Navigate to client root : cd client
  • Install dependencies: npm install
  • Run : npm start

The dev server should be running at http://localhost:4200/

postmanager's People

Contributors

shaidara avatar

Watchers

 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.