Admin Plus

React Admin Template with .NET Core 8


Thank you for purchasing my script. If you have any questions that are beyond the scope of this help file, feel free to email me.

If you are looking for a Javascript framework based template for your upcoming project then probably you come to the right place.
 
Admin Plus is a light Admin template, developed based on modern React framework with Tailwind CSS,
.NET core 8, Entity Framework core 8.0.0 & Redux Toolkit as state management. The most amazing part of this template is, you have five popular Relational database connectivity options here.You have flexibility to choose Sql server, Mysql, Sqlite, PostgreSql and Oracle 12c+.
 
Admin Plus template consists of two separate project, one is AdminAPi for API and the other is AdminClient project for UI.
 
Both of the projects are developed separately and you have full flexibility to use them independently.

 

Admin Plus template has two separate project i.e. AdminClient and AdminApi.

                        -> dotnet ef migrations add initial
                        -> dotnet ef database update
                        -> dotnet run
                You should see your API listening at localhost:5001.

                        -> npm install
                        -> npm run dev

                Your project will be running at localhost:3001. 

 

N.B: This is just a quick start note, you need to follow full documentation for full project set up which starts from below.

 

"ConnectionStrings": {

    "ApiConnStringMssql": "data source=Sangib-PC;initial catalog=admindb;
     persist security info=True;Integrated Security=SSPI;",

    "ApiConnStringMysql": "server=localhost;port=3306;database=admindb;user=root;",

    "ApiConnStringOracle": "Data Source=(DESCRIPTION=(ADDRESS_LIST=
    (ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))  
    (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orclpdb)));User Id=root;Password=root;",

    "ApiConnStringSqlite": "Data Source=admindb.db;",

    "ApiConnStringPostgreSql": "Server=127.0.0.1;Port=5432;Database=admindb;
    User Id=postgres;Password=postgres;"

  }

 

		//Sql Server Connection String
		/* builder.Services.AddDbContextPool(opt=>opt.UseSqlServer(builder.Configuration["ConnectionStrings:ApiConnStringMssql"])); */
		
		//Mysql Connection String
		builder.Services.AddDbContextPool(opt=>opt.UseMySql
		(builder.Configuration["ConnectionStrings:ApiConnStringMysql"],
		ServerVersion.AutoDetect(builder.Configuration["ConnectionStrings:ApiConnStringMysql"])));

		//Sqlite Connection String
		/* builder.Services.AddDbContextPool(opt=>opt.UseSqlite(builder.Configuration["ConnectionStrings:ApiConnStringSqlite"])); */

		//PostgreSql Connection String
		/* builder.Services.AddDbContextPool(opt=>opt.UseNpgsql(builder.Configuration["ConnectionStrings:ApiConnStringPostgreSql"])); */

		//Oracle Connection String
		/*builder.Services.AddDbContextPool(opt=>opt.UseOracle(builder.Configuration["ConnectionStrings:ApiConnStringOracle"])); */ 
	

 

               ->dotnet tool install --global dotnet-ef

               ->dotnet ef migrations add MigrationName

               ->dotnet ef database update

Assuming that you run both api and client projects by following previous steps. Now you just need to open vite.config.js (/adminclient/vite.config.js) from Client project and set APIURL as http://localhost:5001 because our api is running here and you need to link with api from client.

	'process.env':{
		'APIURL':'http://localhost:5001'
	  }

 

For Admin access, Username:admin@reactadmin.com; Password:admin@2024

For User access, Username:user@reactadmin.com; Password:user@2024

Once again, thank you so much for purchasing this script. As I said at the beginning, I'd be glad to help you if you have any questions relating to this script. I'll do my best to assist. If you have a more general question relating to this script you may also comment directly on product comment section.

Sangib Kumar Saha